rtpsink: set properties on children early
authorMarc Leeman <m.leeman@televic.com>
Tue, 30 Nov 2021 09:24:37 +0000 (10:24 +0100)
committerMarc Leeman <m.leeman@televic.com>
Thu, 2 Dec 2021 13:23:05 +0000 (14:23 +0100)
commitf699c08af9d4718b9b184a7b77a2fd1b6a418155
tree8aeff02ddb9e91bf85bb9ba5263be67b5b568dac
parentd10ad61891fc497ecb763a350faad9e959e563de
rtpsink: set properties on children early

The properties on the udpsink/udpsrc elements need to be set before
there is any state change. If not, in a network without default gateway,
udpsink tries to bind an a NULL interface and fails.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1398>
subprojects/gst-plugins-bad/gst/rtp/gstrtpsink.c