glcolorconvert: we don't do resizing of the video frames
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Mar 2015 09:46:02 +0000 (09:46 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:56 +0000 (19:31 +0000)
As we cannot do accurate texel sampling then due to the texture
coordinates being interpolated based on the output frame size.

gst-libs/gst/gl/gstglcolorconvert.c

index bce26b5..8f1e499 100644 (file)
@@ -658,7 +658,6 @@ gst_gl_color_convert_caps_remove_format_info (GstCaps * caps)
     st = gst_structure_copy (st);
     gst_structure_remove_fields (st, "format", "colorimetry", "chroma-site",
         NULL);
-    gst_structure_remove_fields (st, "width", "height", NULL);
 
     gst_caps_append_structure_full (res, st,
         gst_caps_features_new (GST_CAPS_FEATURE_MEMORY_GL_MEMORY, NULL));