mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 15:12:58 +00:00
webrtc-nice: fix compiler warning with older versions if libnice
warning: "HAVE_LIBNICE_CONSENT_FIX" is not defined, evaluates to 0 [-Wundef] Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8305>
This commit is contained in:
parent
ee0afa29d1
commit
5c2c688c4c
1 changed files with 1 additions and 1 deletions
|
@ -1682,7 +1682,7 @@ gst_webrtc_nice_constructed (GObject * object)
|
|||
options |= NICE_AGENT_OPTION_REGULAR_NOMINATION;
|
||||
|
||||
/* https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/257 */
|
||||
#if HAVE_LIBNICE_CONSENT_FIX
|
||||
#ifdef HAVE_LIBNICE_CONSENT_FIX
|
||||
options |= NICE_AGENT_OPTION_CONSENT_FRESHNESS;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue