mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
rtspsrc: fix cmd comparison
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690476
This commit is contained in:
parent
75616fac9a
commit
8cfec6a88d
1 changed files with 1 additions and 1 deletions
|
@ -6566,7 +6566,7 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
|
|||
|
||||
GST_OBJECT_LOCK (src);
|
||||
cmd = src->pending_cmd;
|
||||
if (cmd == CMD_RECONNECT || CMD_PLAY || cmd == CMD_LOOP)
|
||||
if (cmd == CMD_RECONNECT || cmd == CMD_PLAY || cmd == CMD_LOOP)
|
||||
src->pending_cmd = CMD_LOOP;
|
||||
else
|
||||
src->pending_cmd = CMD_WAIT;
|
||||
|
|
Loading…
Reference in a new issue