streamsynchronizer: clear stream eos state on FLUSH and new stream

This commit is contained in:
Mark Nauwelaerts 2010-08-10 11:19:59 +02:00
parent 1a40681f53
commit 837d524ef0

View file

@ -283,6 +283,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstEvent * event)
GST_DEBUG_OBJECT (pad, "Stream %d changed", stream->stream_number);
stream->is_eos = FALSE;
stream->wait = TRUE;
stream->new_stream = TRUE;
@ -441,6 +442,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstEvent * event)
stream->stream_number);
gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED);
stream->is_eos = FALSE;
stream->wait = FALSE;
stream->new_stream = FALSE;
stream->drop_discont = FALSE;