stream: Correct control comparison

https://bugzilla.gnome.org/show_bug.cgi?id=709176
This commit is contained in:
Jonas Holmberg 2013-10-01 13:15:19 +02:00 committed by Sebastian Dröge
parent 917bbfcc20
commit fcf51d3485

View file

@ -391,7 +391,7 @@ gst_rtsp_stream_has_control (GstRTSPStream * stream, const gchar * control)
g_mutex_lock (&priv->lock);
if (priv->control)
res = g_strcmp0 (priv->control, control);
res = (g_strcmp0 (priv->control, control) == 0);
else {
guint streamid;
sscanf (control, "stream=%u", &streamid);