From 75413ae9aa3057503732f563195d7b70b0398b86 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 21 Oct 2014 02:52:05 +1100 Subject: [PATCH] videoaggregator: fixate the parts of the caps we don't know how to deal with fixes glvideomixer with video/x-raw,width=foo i.e. no format field. --- gst-libs/gst/video/gstvideoaggregator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 83bf08be69..e24bb212e4 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -628,6 +628,9 @@ gst_videoaggregator_update_src_caps (GstVideoAggregator * vagg) gst_structure_fixate_field_nearest_fraction (s, "framerate", best_fps_n, best_fps_d); + /* fixate the the rest of the fields */ + caps = gst_caps_fixate (caps); + gst_structure_get_int (s, "width", &info.width); gst_structure_get_int (s, "height", &info.height); gst_structure_get_fraction (s, "framerate", &info.fps_n, &info.fps_d);