gl/mixer: fix download check for failure
authorMatthew Waters <ystreet00@gmail.com>
Mon, 17 Mar 2014 19:43:35 +0000 (20:43 +0100)
committerMatthew Waters <ystreet00@gmail.com>
Wed, 19 Mar 2014 20:01:01 +0000 (07:01 +1100)
gst-libs/gst/gl/gstglmixer.c

index 267ff47..605d25a 100644 (file)
@@ -1695,7 +1695,7 @@ gst_gl_mixer_process_textures (GstGLMixer * mix, GstBuffer * outbuf)
   mix_class->process_textures (mix, mix->frames, out_tex);
 
   if (out_gl_wrapped) {
-    if (gst_gl_download_perform_with_data (mix->download, out_tex,
+    if (!gst_gl_download_perform_with_data (mix->download, out_tex,
             out_frame.data)) {
       GST_ELEMENT_ERROR (mix, RESOURCE, NOT_FOUND, ("%s",
               "Failed to download video frame"), (NULL));