mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
tools: play: fix endless loop on unhandled keys
When debugging output is not enabled.
This commit is contained in:
parent
d6a6c2a3b1
commit
aab687505e
1 changed files with 2 additions and 2 deletions
|
@ -516,8 +516,8 @@ keyboard_cb (const gchar * key_input, gpointer user_data)
|
|||
case 27: /* ESC */
|
||||
default:
|
||||
GST_INFO ("keyboard input:");
|
||||
while (*key_input)
|
||||
GST_INFO (" code %3d", *key_input++);
|
||||
for (; *key_input != '\0'; ++key_input)
|
||||
GST_INFO (" code %3d", *key_input);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue