mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
stream: Correct control comparison
https://bugzilla.gnome.org/show_bug.cgi?id=709176
This commit is contained in:
parent
917bbfcc20
commit
fcf51d3485
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue