diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-08-12 11:46:11 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-08-12 11:46:39 +0100 |
commit | 2dab0a8928b3c931591826b30de35ded44b00d68 (patch) | |
tree | 16a13ac0274f9fa2e311ffc61fd4eec8da16f236 /gst/ffmpegcolorspace | |
parent | 9975a2d7b411967c965f6cef8fd4d7ea97f619f7 (diff) |
ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps
Diffstat (limited to 'gst/ffmpegcolorspace')
-rw-r--r-- | gst/ffmpegcolorspace/gstffmpegcolorspace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/ffmpegcolorspace/gstffmpegcolorspace.c b/gst/ffmpegcolorspace/gstffmpegcolorspace.c index 5341c5c6f..7a6b5191b 100644 --- a/gst/ffmpegcolorspace/gstffmpegcolorspace.c +++ b/gst/ffmpegcolorspace/gstffmpegcolorspace.c @@ -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"); |