[Bug 757951] adaptivedemux: set src element to ready before flushing the input pad
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 26 09:59:25 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757951
--- Comment #19 from Florin Apostol <florin.apostol at oregan.net> ---
So, because deactivation of internal pad does not work, should we keep sending
the flush event?
Looking at the differences between a flush event and
gst_adaptive_demux_stream_clear_eos_and_flush_state:
- a flush event will also clear the segment events from the pad
(remove_event_by_type (pad, GST_EVENT_SEGMENT);)
- both flush event and gst_adaptive_demux_stream_clear_eos_and_flush_state will
clear the EOS flag and EOS events
Also, next time the uri_handler element is activated, it will send a stream
start event which will clear the EOS events from all pads, so I don't think
it's necessary to clear the EOS events and flag in
gst_adaptive_demux_stream_clear_eos_and_flush_state.
>From what I can see, the flush event is needed to clear the SEGMENT event and
gst_adaptive_demux_stream_clear_eos_and_flush_state needs to clear the FLUSHING
flag.
--
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