mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-27 08:48:19 +00:00
streamsynchronizer: clear stream eos state on FLUSH and new stream
This commit is contained in:
parent
1a40681f53
commit
837d524ef0
|
@ -283,6 +283,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstEvent * event)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (pad, "Stream %d changed", stream->stream_number);
|
GST_DEBUG_OBJECT (pad, "Stream %d changed", stream->stream_number);
|
||||||
|
|
||||||
|
stream->is_eos = FALSE;
|
||||||
stream->wait = TRUE;
|
stream->wait = TRUE;
|
||||||
stream->new_stream = TRUE;
|
stream->new_stream = TRUE;
|
||||||
|
|
||||||
|
@ -441,6 +442,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstEvent * event)
|
||||||
stream->stream_number);
|
stream->stream_number);
|
||||||
gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED);
|
gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED);
|
||||||
|
|
||||||
|
stream->is_eos = FALSE;
|
||||||
stream->wait = FALSE;
|
stream->wait = FALSE;
|
||||||
stream->new_stream = FALSE;
|
stream->new_stream = FALSE;
|
||||||
stream->drop_discont = FALSE;
|
stream->drop_discont = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue