From 4233ba4ca4f9679426e28f4ec26dc4bc5c515895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 27 Nov 2014 20:25:29 +0100 Subject: [PATCH] videoaggregator: Directly use the converters video-info instead of recalculating it --- gst-libs/gst/video/gstvideoaggregator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 8af97ce9ba..47e137c625 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -176,9 +176,7 @@ gst_video_aggregator_pad_set_info (GstVideoAggregatorPad * pad, GST_VIDEO_INFO_FORMAT (wanted_info)); pad->priv->convert = gst_video_converter_new (current_info, &tmp_info, NULL); - pad->priv->conversion_info = vagg->info; - gst_video_info_set_format (&(pad->priv->conversion_info), - GST_VIDEO_INFO_FORMAT (&vagg->info), pad->info.width, pad->info.height); + pad->priv->conversion_info = tmp_info; if (!pad->priv->convert) { g_free (colorimetry); g_free (best_colorimetry);