[Bug 674151] [pitivi] Deadlocks when trying to play a particular AVI or OGG Theora clip in the timeline

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 28 16:49:03 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=674151
  GStreamer | gst-editing-services | git

Mathieu Duponchelle <mathieu.duponchelle> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.duponchelle at epitech
                   |                            |.eu

--- Comment #3 from Mathieu Duponchelle <mathieu.duponchelle at epitech.eu> 2012-04-28 23:49:00 UTC ---
OK so briefly, the problem was with the get_state function in togglePlayback.
With some clips, when you seek at a certain position, only part of the bins see
their state set to PAUSED. So when you do a get_state on the pipeline, it never
returns.
What puzzles me is the logs from GST_DEBUG.
When doing an "incomplete" seek, you will get this :

0:00:09.687979007 20400 0x7fbb30002a00 INFO              GST_STATES
gstbin.c:2910:bin_handle_async_done:<videosink> committing state from PAUSED to
PAUSED, old pending PAUSED
0:00:09.688140586 20400 0x7fbb30002a00 INFO              GST_STATES
gstbin.c:2930:bin_handle_async_done:<videosink> completed state change, pending
VOID
0:00:09.688203016 20400 0x7fbb30002a00 INFO              GST_STATES
gstbin.c:2910:bin_handle_async_done:<vbin> committing state from PAUSED to
PAUSED, old pending PAUSED
0:00:09.688376366 20400 0x7fbb30002a00 INFO              GST_STATES
gstbin.c:2930:bin_handle_async_done:<vbin> completed state change, pending VOID

When the seek is succesful, two more elements are added to this log :
gestimelinepipeline1 and internal-sinks.

I pushed a branch called deadlocks on my github that at least prevents the
deadlocks.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list