From 088a5cec643bbd42d32aa7caa1dc8e8560e7c1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 4 Aug 2017 11:08:18 +0300 Subject: [PATCH] videoaggregator: Don't mix up width and height CID 1416129 --- gst-libs/gst/video/gstvideoaggregator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 9864612acf..def0998d78 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -529,8 +529,8 @@ gst_video_aggregator_find_best_format (GstVideoAggregator * vagg, * Do not increment best_format_number in that case. */ gst_video_info_set_format (best_info, GST_VIDEO_FORMAT_ARGB, - GST_VIDEO_INFO_HEIGHT (&pad->info), - GST_VIDEO_INFO_WIDTH (&pad->info)); + GST_VIDEO_INFO_WIDTH (&pad->info), + GST_VIDEO_INFO_HEIGHT (&pad->info)); } else if (!need_alpha && (pad->info.finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) { need_alpha = TRUE;