summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-08-19 14:44:29 +1000
committerMatthew Waters <ystreet00@gmail.com>2014-08-19 14:44:29 +1000
commit0b0c11632707f9abe94ef776d913ecbcdea6fb73 (patch)
tree4411e1c067cebccc94ddc8962572c3e394c0f817 /ext
parent510a016c88fed4419b9c48324c9de9c161a5671b (diff)
glvideomixer: don't clobber unnecessary GstVideoInfo fields
otherwise we might clobber other important fields such as the frame rate.
Diffstat (limited to 'ext')
-rw-r--r--ext/gl/gstglvideomixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c
index b62cfd727..2b96bc5ca 100644
--- a/ext/gl/gstglvideomixer.c
+++ b/ext/gl/gstglvideomixer.c
@@ -421,8 +421,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;
}