From 1a2adf512346fecea04df50c385f74a458323e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 1 Oct 2014 17:29:29 +0300 Subject: [PATCH] videomixer: Actually use the correct GstVideoInfo for conversion --- gst/videomixer/videomixer2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index b2f3c08eea..ae0020bc52 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -452,7 +452,7 @@ gst_videomixer2_update_converters (GstVideoMixer2 * mix) GST_DEBUG_OBJECT (pad, "This pad will be converted from %d to %d", GST_VIDEO_INFO_FORMAT (&pad->info), GST_VIDEO_INFO_FORMAT (&best_info)); - pad->convert = gst_video_converter_new (&pad->info, &best_info, NULL); + pad->convert = gst_video_converter_new (&pad->info, &tmp_info, NULL); pad->need_conversion_update = TRUE; if (!pad->convert) { g_free (colorimetry);