[829/906] mixer: error out properly on flushing

This commit is contained in:
Matthew Waters 2013-10-23 20:38:56 +11:00 committed by Tim-Philipp Müller
parent ac0db99c94
commit 7b7e7bb8d0

View file

@ -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;