videomixer: Check if the pad needs reconfiguration in collected
authorMathieu Duponchelle <mduponchelle1@gmail.com>
Thu, 3 Oct 2013 19:36:34 +0000 (21:36 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 4 Oct 2013 08:53:26 +0000 (10:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=709384

gst/videomixer/videomixer2.c

index c12f036..fbcab60 100644 (file)
@@ -1192,6 +1192,9 @@ gst_videomixer2_collected (GstCollectPads * pads, GstVideoMixer2 * mix)
     mix->send_stream_start = FALSE;
   }
 
+  if (gst_pad_check_reconfigure (mix->srcpad))
+    gst_videomixer2_update_src_caps (mix);
+
   if (mix->send_caps) {
     if (!gst_pad_push_event (mix->srcpad,
             gst_event_new_caps (mix->current_caps))) {