mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtsp-client: fix awkward if clause
This commit is contained in:
parent
6dbffce319
commit
57c21c8f9e
1 changed files with 1 additions and 1 deletions
|
@ -2303,7 +2303,7 @@ handle_announce_request (GstRTSPClient * client, GstRTSPContext * ctx)
|
|||
/* could not be set but since the request returned OK, we assume it
|
||||
* was SDP, else check it. */
|
||||
if (cont) {
|
||||
if (!g_ascii_strcasecmp (cont, "application/sdp") == 0)
|
||||
if (g_ascii_strcasecmp (cont, "application/sdp") != 0)
|
||||
goto wrong_content_type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue