videomixer: Check if the pad needs reconfiguration in collected

https://bugzilla.gnome.org/show_bug.cgi?id=709384
This commit is contained in:
Mathieu Duponchelle 2013-10-03 21:36:34 +02:00 committed by Sebastian Dröge
parent e5c443594f
commit 3d780c5c6d

View 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))) {