mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
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:
parent
89c82cfa55
commit
d7d5d1ba93
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@
|
||||||
#define RTPHDREXT_STREAM_ID GST_RTP_HDREXT_BASE "sdes:rtp-stream-id"
|
#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"
|
#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
|
* SECTION: element-webrtcbin
|
||||||
* title: webrtcbin
|
* title: webrtcbin
|
||||||
|
|
Loading…
Reference in a new issue