mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videomixer: Check if the pad needs reconfiguration in collected
https://bugzilla.gnome.org/show_bug.cgi?id=709384
This commit is contained in:
parent
e5c443594f
commit
3d780c5c6d
1 changed files with 3 additions and 0 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue