videoconvert: Keep colorimetry and chroma-site fields if passthrough
https://bugzilla.gnome.org/show_bug.cgi?id=748141
This commit is contained in:
parent
9e480d11a2
commit
9dfe40d740
@ -339,6 +339,12 @@ gst_video_convert_fixate_caps (GstBaseTransform * trans,
|
|||||||
/* fixate remaining fields */
|
/* fixate remaining fields */
|
||||||
result = gst_caps_fixate (result);
|
result = gst_caps_fixate (result);
|
||||||
|
|
||||||
|
if (direction == GST_PAD_SINK) {
|
||||||
|
if (gst_caps_is_subset (caps, result)) {
|
||||||
|
gst_caps_replace (&result, caps);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user