summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-01 17:22:59 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-10-01 17:22:59 +0300
commit03a5bc82db650f5b10f43692f3856dc0da6b0665 (patch)
tree00e7e430bc154459377c4c77e22d5f3d13b5c312
parentf2af838837817efc5b8b589b329b4d53f151a9ea (diff)
videoaggregator: Also copy over the chroma siting and colorimetry when deciding on a conversion
-rw-r--r--gst-libs/gst/video/gstvideoaggregator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
index 00dd666c7..39e95edd8 100644
--- a/gst-libs/gst/video/gstvideoaggregator.c
+++ b/gst-libs/gst/video/gstvideoaggregator.c
@@ -449,6 +449,8 @@ gst_videoaggregator_update_converters (GstVideoAggregator * vagg)
g_strcmp0 (chroma, best_chroma)) {
GstVideoInfo tmp_info = pad->info;
tmp_info.finfo = best_info.finfo;
+ tmp_info.chroma_site = best_info.chroma_site;
+ tmp_info.colorimetry = best_info.colorimetry;
GST_DEBUG_OBJECT (pad, "This pad will be converted from %d to %d",
GST_VIDEO_INFO_FORMAT (&pad->info),