mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps
This commit is contained in:
parent
9975a2d7b4
commit
2dab0a8928
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue