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
This commit is contained in:
Vineeth TM 2015-08-21 16:29:16 +09:00 committed by Sebastian Dröge
parent 77c9e2cd4d
commit ba8cda54f4

View file

@ -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 */