glvideomixer: don't clobber unnecessary GstVideoInfo fields

otherwise we might clobber other important fields such as the frame rate.
This commit is contained in:
Matthew Waters 2014-08-19 14:44:29 +10:00
parent 510a016c88
commit 0b0c116327

View file

@ -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;
}