rist: Use g_signal_connect_object()
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 7 Jul 2020 14:03:42 +0000 (10:03 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 7 Jul 2020 15:37:57 +0000 (15:37 +0000)
commitaf741f0723c0c2aec2d06fa57cbf8706a501fe08
treed501631e2561bd12c00f80577c63ae7a7bd22f41
parent7346e7c1e23af1d7e4f068c660789d0d68e38b1a
rist: Use g_signal_connect_object()

rtpbin can still emit signals when it is being disposed, and while
rtpbin is inside ristsrc/ristsink it can still live longer.

So we either have disconnect all signals at some point, or let GObject
take care of that automatically.

Related to !1412

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1413>
gst/rist/gstristsink.c
gst/rist/gstristsrc.c