summaryrefslogtreecommitdiff
path: root/gst/videomixer
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-01 17:29:29 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-10-01 17:29:29 +0300
commit1a2adf512346fecea04df50c385f74a458323e70 (patch)
treea05490aa37f9c64239139488e23a6a1e15f1bfb0 /gst/videomixer
parentc1a96113db31b3b4cc739bc532f77583cbb7b238 (diff)
videomixer: Actually use the correct GstVideoInfo for conversion
Diffstat (limited to 'gst/videomixer')
-rw-r--r--gst/videomixer/videomixer2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c
index b2f3c08ee..ae0020bc5 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);