mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
ffdemux: fix for API change of flush_start
This commit is contained in:
parent
aaa07b3b4c
commit
888a1c0e5e
1 changed files with 2 additions and 2 deletions
|
@ -591,7 +591,7 @@ gst_ffmpegdemux_perform_seek (GstFFMpegDemux * demux, GstEvent * event)
|
|||
GST_OBJECT_LOCK (demux);
|
||||
demux->flushing = FALSE;
|
||||
GST_OBJECT_UNLOCK (demux);
|
||||
gst_pad_push_event (demux->sinkpad, gst_event_new_flush_stop ());
|
||||
gst_pad_push_event (demux->sinkpad, gst_event_new_flush_stop (TRUE));
|
||||
}
|
||||
|
||||
/* do the seek, segment.position contains new position. */
|
||||
|
@ -603,7 +603,7 @@ gst_ffmpegdemux_perform_seek (GstFFMpegDemux * demux, GstEvent * event)
|
|||
|
||||
/* send flush stop, peer will accept data and events again. We
|
||||
* are not yet providing data as we still have the STREAM_LOCK. */
|
||||
gst_ffmpegdemux_push_event (demux, gst_event_new_flush_stop ());
|
||||
gst_ffmpegdemux_push_event (demux, gst_event_new_flush_stop (TRUE));
|
||||
for (n = 0; n < MAX_STREAMS; ++n) {
|
||||
if (demux->streams[n])
|
||||
demux->streams[n]->last_flow = GST_FLOW_OK;
|
||||
|
|
Loading…
Reference in a new issue