ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps
This commit is contained in:
parent
9975a2d7b4
commit
2dab0a8928
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user