diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-02-07 15:28:24 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-02-07 15:54:27 +0100 |
commit | 33c80bccfe52d2ef45227bbea6d5e094019ec371 (patch) | |
tree | 0a8b0009946482d469614cc05503f781314a06c9 /gst | |
parent | 2b6fa1966570b161008565a294bce863dbbd3ab7 (diff) |
vaapidecode: don't remove chroma-site nor colorimetry
Since now they can be handled by vaapipostproc.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/vaapi/gstvaapidecode.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c index db009f81..f8ef4ace 100644 --- a/gst/vaapi/gstvaapidecode.c +++ b/gst/vaapi/gstvaapidecode.c @@ -327,13 +327,6 @@ gst_vaapidecode_update_src_caps (GstVaapiDecode * decode) GstStructure *structure = gst_caps_get_structure (state->caps, 0); if (!structure) break; - - /* Remove chroma-site and colorimetry from src caps, - * which is unnecessary on downstream if using VASurface - */ - gst_structure_remove_fields (structure, "chroma-site", "colorimetry", - NULL); - feature_str = gst_vaapi_caps_feature_to_string (feature); features = gst_caps_features_new (feature_str, NULL); gst_caps_set_features (state->caps, 0, features); |