glsyncmeta: transform func: return FALSE if not supported or failed
authorHyunjun Ko <zzoon.ko@samsung.com>
Tue, 7 Jul 2015 01:57:26 +0000 (10:57 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 Jul 2015 10:39:08 +0000 (13:39 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=751778

gst-libs/gst/gl/gstglsyncmeta.c

index dd195cc..23806aa 100644 (file)
@@ -132,7 +132,11 @@ _gst_gl_sync_meta_transform (GstBuffer * dest, GstMeta * meta,
        * metas after data */
       gst_gl_sync_meta_set_sync_point (dmeta, smeta->context);
     }
+  } else {
+    /* return FALSE, if transform type is not supported */
+    return FALSE;
   }
+
   return TRUE;
 }