rtspsrc: Don't remove udpsrc/sink from rtspsrc if they were not added to it
authorSebastian Dröge <sebastian@centricular.com>
Fri, 15 Mar 2019 08:18:00 +0000 (09:18 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Fri, 15 Mar 2019 08:21:11 +0000 (08:21 +0000)
commita676c1725993c2aaf37b856b60f82a0d7b9d8091
tree789340b42912b82cf855c9320a2bc2d1a4378950
parent2513edf229e35830186c0668c906ffa598f64f4b
rtspsrc: Don't remove udpsrc/sink from rtspsrc if they were not added to it

This can happen in various error cases that could happen between the
creation of the element in question and the adding to the rtspsrc.

It causes an ugly critical warning right now but is otherwise harmless.
gst/rtsp/gstrtspsrc.c