From 06d7a5ca3c1aff43397df114ec7f194d2dc24f2c Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 18 Sep 2019 16:27:35 -0400 Subject: [PATCH] ristsrc: Fix comment about odd/even ports It is the RTP port that is even, and the RTCP port being +1 (hence odd). --- gst/rist/gstristsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rist/gstristsrc.c b/gst/rist/gstristsrc.c index 6b7dcc99f9..e674ffe258 100644 --- a/gst/rist/gstristsrc.c +++ b/gst/rist/gstristsrc.c @@ -1079,7 +1079,7 @@ gst_rist_src_set_property (GObject * object, guint prop_id, case PROP_PORT:{ guint port = g_value_get_uint (value); - /* According to 5.1.1, RTCP receiver port most be event number and RTCP + /* According to 5.1.1, RTP receiver port most be even number and RTCP * port should be the RTP port + 1 */ if (port & 0x1) {