mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
glcolorscale: do passthrough on same caps
See https://bugzilla.gnome.org/show_bug.cgi?id=732178
This commit is contained in:
parent
7cdce1bdfc
commit
e5c3605056
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue