ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps

This commit is contained in:
Tim-Philipp Müller 2010-08-12 11:46:11 +01:00
parent 9975a2d7b4
commit 2dab0a8928

View file

@ -109,6 +109,7 @@ gst_ffmpegcsp_caps_remove_format_info (GstCaps * caps)
rgbst = gst_structure_copy (yuvst);
gst_structure_set_name (rgbst, "video/x-raw-rgb");
gst_structure_remove_fields (rgbst, "color-matrix", "chroma-site", NULL);
grayst = gst_structure_copy (rgbst);
gst_structure_set_name (grayst, "video/x-raw-gray");