From ba8cda54f4de27817e9e5460c6a48e24b9012f41 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Fri, 21 Aug 2015 16:29:16 +0900 Subject: [PATCH] rtspsrc: Trivial fix to check correct condition When checking for describe method, because of missing parentheses, wrong condition is being checked, which will result in wrong behavior. https://bugzilla.gnome.org/show_bug.cgi?id=753912 --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 4cdd335317..60b0e372e6 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -7214,7 +7214,7 @@ restart: } /* it could be that the DESCRIBE method was not implemented */ - if (!src->methods & GST_RTSP_DESCRIBE) + if (!(src->methods & GST_RTSP_DESCRIBE)) goto no_describe; /* check if reply is SDP */