summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-02-08 12:03:10 +0000
committerTim-Philipp Müller <tim@centricular.com>2015-02-08 12:03:10 +0000
commit603c1d71a1b0f415b93511959cef29a84d2ea09d (patch)
treed18a7443afafb7f9385b00cb05afd3d49540ec96
parent8ceb58122e4e5ca4e9a64a2b3b36b5978de2f58b (diff)
rtspsrc: fix awkward if clause
-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 24d9b8199..a1a8f0f2f 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -6961,7 +6961,7 @@ restart:
/* could not be set but since the request returned OK, we assume it
* was SDP, else check it. */
if (respcont) {
- if (!g_ascii_strcasecmp (respcont, "application/sdp") == 0)
+ if (g_ascii_strcasecmp (respcont, "application/sdp") != 0)
goto wrong_content_type;
}