From 03a5bc82db650f5b10f43692f3856dc0da6b0665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 1 Oct 2014 17:22:59 +0300 Subject: [PATCH] videoaggregator: Also copy over the chroma siting and colorimetry when deciding on a conversion --- gst-libs/gst/video/gstvideoaggregator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 00dd666c7d..39e95edd80 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),