mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
avidemux: resurrect some flow return handling
This commit is contained in:
parent
5ead23a14a
commit
d0587467fc
1 changed files with 3 additions and 1 deletions
|
@ -4634,6 +4634,8 @@ gst_avi_demux_handle_seek (GstAviDemux * avi, GstPad * pad, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (avi, "marking DISCONT");
|
||||
avi->stream[i].discont = TRUE;
|
||||
}
|
||||
/* likewise for the whole new segment */
|
||||
gst_flow_combiner_reset (avi->flowcombiner);
|
||||
GST_PAD_STREAM_UNLOCK (avi->sinkpad);
|
||||
|
||||
return TRUE;
|
||||
|
@ -4998,7 +5000,7 @@ gst_avi_demux_combine_flows (GstAviDemux * avi, GstAviStream * stream,
|
|||
{
|
||||
GST_LOG_OBJECT (avi, "Stream %s:%s flow return: %s",
|
||||
GST_DEBUG_PAD_NAME (stream->pad), gst_flow_get_name (ret));
|
||||
ret = gst_flow_combiner_update_flow (avi->flowcombiner, ret);
|
||||
ret = gst_flow_combiner_update_pad_flow (avi->flowcombiner, stream->pad, ret);
|
||||
GST_LOG_OBJECT (avi, "combined to return %s", gst_flow_get_name (ret));
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue