[Bug 787290] omxvideodec: Stuck after several seeks on Raspberry Pi3
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Sep 10 01:29:13 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787290
--- Comment #10 from Yuji Kuwabara <HHG01200 at nifty.ne.jp> ---
Thanks for comments.
--------------------------------
This is not correct, the FLUSH_START event need to be propagated before you can
take the stream lock. That's why the base class will call flush on FLUSH_STOP
event, which hold the stream-lock.
--------------------------------
In my modification, GST_EVENT_FLUSH_START event is propagated before LOCK and
FLUSH.
Similar pattern is seen in gst_rtp_rtx_send_sink_event().
---------------------------------
case GST_EVENT_FLUSH_START:
gst_pad_push_event (rtx->srcpad, event);
gst_rtp_rtx_send_set_flushing (rtx, TRUE);
gst_pad_pause_task (rtx->srcpad);
return TRUE;
---------------------------------
LOCK is used in gst_rtp_rtx_send_set_flushing()
--
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