rtsp-client: fix awkward if clause
This commit is contained in:
parent
6dbffce319
commit
57c21c8f9e
@ -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…
x
Reference in New Issue
Block a user