glcolorscale: do passthrough on same caps
authorJulien Isorce <julien.isorce@collabora.co.uk>
Tue, 24 Jun 2014 18:37:17 +0000 (19:37 +0100)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Wed, 25 Jun 2014 05:56:43 +0000 (06:56 +0100)
See https://bugzilla.gnome.org/show_bug.cgi?id=732178

ext/gl/gstglcolorscale.c

index bde35c3..e56da5b 100644 (file)
@@ -88,6 +88,7 @@ gst_gl_colorscale_class_init (GstGLColorscaleClass * klass)
   GObjectClass *gobject_class;
   GstElementClass *element_class;
   GstGLFilterClass *filter_class;
+  GstBaseTransformClass *basetransform_class = GST_BASE_TRANSFORM_CLASS (klass);
 
   gobject_class = (GObjectClass *) klass;
   element_class = GST_ELEMENT_CLASS (klass);
@@ -107,6 +108,8 @@ gst_gl_colorscale_class_init (GstGLColorscaleClass * klass)
 #endif
 
   filter_class->filter_texture = gst_gl_colorscale_filter_texture;
+
+  basetransform_class->passthrough_on_same_caps = TRUE;
 }
 
 static void