[Bug 787290] omxvideodec: Stuck after several seeks on Raspberry Pi3
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Sep 10 12:01:57 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787290
--- Comment #12 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Yuji Kuwabara from comment #10)
> 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()
This is not similar pattern since it does not take the stream lock. It only
triggers to stop.
--
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