mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
[829/906] mixer: error out properly on flushing
This commit is contained in:
parent
ac0db99c94
commit
7b7e7bb8d0
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);
|
||||
if (ret != GST_FLOW_OK)
|
||||
goto error;
|
||||
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = output_start_time;
|
||||
GST_BUFFER_DURATION (outbuf) = output_end_time - output_start_time;
|
||||
|
|
Loading…
Reference in a new issue