From 4824ce3b5e751e18e6de03514aff91d23c8c0e3c Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 19 Aug 2014 14:44:29 +1000 Subject: [PATCH] glvideomixer: don't clobber unnecessary GstVideoInfo fields otherwise we might clobber other important fields such as the frame rate. --- ext/gl/gstglvideomixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c index 7dcb936..b9a1d68 100644 --- a/ext/gl/gstglvideomixer.c +++ b/ext/gl/gstglvideomixer.c @@ -342,8 +342,8 @@ _update_info (GstVideoAggregator * vagg, GstVideoInfo * info) GST_OBJECT_UNLOCK (vagg); if (best_width > 0 && best_height > 0) { - gst_video_info_set_format (info, GST_VIDEO_INFO_FORMAT (info), - best_width, best_height); + info->width = best_width; + info->height = best_height; ret = TRUE; } -- 2.7.4