[Bug 730989] omxdec: Get stuck while doing ctrl+c during preroll

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 31 01:54:47 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730989
  GStreamer | gst-omx | 1.3.1

--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-05-31 08:54:39 UTC ---
Note this code here
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomxvideodec.c#n362
which in theory should unblock this here and stop the loop
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomxvideodec.c#n1186
(the FLUSHING case). That's exactly what you describe Nicolas, right?


The problem according to the debug output here is that the flushing setting
happens while in this code here
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomxvideodec.c#n1206

I wonder why the acquire_buffer() afterwards does not immediately return
flushing... I think it's because of
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomx.c#n2148
which is called in the output port reconfiguration.

The enabled-flushing and flushing-flushing probably needs to be tracked
separately, but handled the same in many other places. I'll try to give you a
patch for testing in a bit.

-- 
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