webrtcbin: Fix support for glib older than 2.74

G_CONNECT_DEFAULT was added in 2.74, and passing `0` in older versions
gets the same behaviour.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5045>
This commit is contained in:
Nirbheek Chauhan 2023-07-19 13:08:03 +05:30 committed by GStreamer Marge Bot
parent 89c82cfa55
commit d7d5d1ba93

View file

@ -70,6 +70,10 @@
#define RTPHDREXT_STREAM_ID GST_RTP_HDREXT_BASE "sdes:rtp-stream-id"
#define RTPHDREXT_REPAIRED_STREAM_ID GST_RTP_HDREXT_BASE "sdes:repaired-rtp-stream-id"
#if !GLIB_CHECK_VERSION(2, 74, 0)
#define G_CONNECT_DEFAULT 0
#endif
/**
* SECTION: element-webrtcbin
* title: webrtcbin