mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
[829/906] mixer: error out properly on flushing
This commit is contained in:
parent
b571e40ec7
commit
9c1d2eeafd
1 changed files with 2 additions and 0 deletions
|
@ -1744,6 +1744,8 @@ gst_gl_mixer_collected (GstCollectPads * pads, GstGLMixer * mix)
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = gst_buffer_pool_acquire_buffer (mix->priv->pool, &outbuf, NULL);
|
ret = gst_buffer_pool_acquire_buffer (mix->priv->pool, &outbuf, NULL);
|
||||||
|
if (ret != GST_FLOW_OK)
|
||||||
|
goto error;
|
||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (outbuf) = output_start_time;
|
GST_BUFFER_TIMESTAMP (outbuf) = output_start_time;
|
||||||
GST_BUFFER_DURATION (outbuf) = output_end_time - output_start_time;
|
GST_BUFFER_DURATION (outbuf) = output_end_time - output_start_time;
|
||||||
|
|
Loading…
Reference in a new issue