diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-08-19 14:44:29 +1000 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-08-19 14:44:29 +1000 |
commit | 0b0c11632707f9abe94ef776d913ecbcdea6fb73 (patch) | |
tree | 4411e1c067cebccc94ddc8962572c3e394c0f817 /ext | |
parent | 510a016c88fed4419b9c48324c9de9c161a5671b (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.c | 4 |
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; } |