diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-08-21 16:29:16 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-08-21 11:06:57 +0300 |
commit | ba8cda54f4de27817e9e5460c6a48e24b9012f41 (patch) | |
tree | a247dd412863bc9b3828dff5e79386e1bea1a536 | |
parent | 77c9e2cd4d2eff371685bba9193919990a25809a (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.c | 2 |
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 */ |