From 9c1d2eeafd69ef0b0f44c378f954c745e5512c5e Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 23 Oct 2013 20:38:56 +1100 Subject: [PATCH] [829/906] mixer: error out properly on flushing --- gst-libs/gst/gl/gstglmixer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglmixer.c b/gst-libs/gst/gl/gstglmixer.c index 02eaee4777..c31e50d6f6 100644 --- a/gst-libs/gst/gl/gstglmixer.c +++ b/gst-libs/gst/gl/gstglmixer.c @@ -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;