summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-08-21 16:29:16 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-08-21 11:06:57 +0300
commitba8cda54f4de27817e9e5460c6a48e24b9012f41 (patch)
treea247dd412863bc9b3828dff5e79386e1bea1a536
parent77c9e2cd4d2eff371685bba9193919990a25809a (diff)
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
-rw-r--r--gst/rtsp/gstrtspsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 4cdd33531..60b0e372e 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 */