webrtc: avoid different versions of gnu-indent always wanting to change !!
authorMatthew Waters <matthew@centricular.com>
Fri, 11 Feb 2022 05:50:42 +0000 (16:50 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Mar 2022 23:55:41 +0000 (23:55 +0000)
Add some sneaky parenthesis to avoid always having to use git commit -n
or revert out hunk of the change.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1664>

subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c

index b4e0677..10d617f 100644 (file)
@@ -5555,7 +5555,7 @@ _generate_data_channel_id (GstWebRTCBin * webrtc)
     }
 
     /* client must generate even ids, server must generate odd ids */
-    if (new_id % 2 == ! !is_client)
+    if (new_id % 2 == !(!is_client))
       continue;
 
     channel = _find_data_channel_for_id (webrtc, new_id);