uridecodebin: Dont link random pads
authorEdward Hervey <edward@centricular.com>
Wed, 3 Jun 2020 09:29:09 +0000 (11:29 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 5 Jun 2020 09:06:05 +0000 (09:06 +0000)
commitb087415757325db44f8d4e17cce9f3a0ccd3f1c5
treecbbefb289523a88590eed6041fa2f1fc1027e76c
parent42dcbcd61f5373372e7408e4523d67d2a22fe7b8
uridecodebin: Dont link random pads

When linking source pads to decodebin, make sure we use the *specified* new
source pad and not some random one.

This avoids ending up with source pads being unlinked.

Main cause of random timeouts with rtsp change_state_intensive validate tests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/687>
gst/playback/gsturidecodebin.c