From 6872ad5ff5074333dd2ce21fb6905e8a2fcaf05e Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 8 May 2014 00:43:14 +1000 Subject: [PATCH] gl/filter: always initialize the upload object --- gst-libs/gst/gl/gstglfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index e40679c..4b2a2ea 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -1127,9 +1127,9 @@ gst_gl_filter_transform (GstBaseTransform * bt, GstBuffer * inbuf, filter->upload = gst_object_ref (GST_GL_BUFFER_POOL (pool)->upload); } else { filter->upload = gst_gl_upload_new (filter->context); - if (!gst_gl_upload_init_format (filter->upload, &filter->in_info)) - goto upload_error; } + if (!gst_gl_upload_init_format (filter->upload, &filter->in_info)) + goto upload_error; gst_caps_unref (in_caps); gst_caps_unref (out_caps); -- 2.7.4