tsdemux: reset the stream some more in the flushes

Now that we handle flushing in the FLUSH_STOP event we need to make
the streams ready if they were flushing.
This commit is contained in:
Josep Torra 2012-11-11 12:46:43 +01:00
parent 150376efe4
commit 0b3e0ed080

View file

@ -1092,6 +1092,9 @@ gst_ts_demux_stream_flush (TSDemuxStream * stream)
stream->fixed_dts = 0;
stream->nb_pts_rollover = 0;
stream->nb_dts_rollover = 0;
if (stream->flow_return == GST_FLOW_FLUSHING) {
stream->flow_return = GST_FLOW_OK;
}
}
static void