mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
eb990b539b
gst-play-1.0 sets STDIN to non-blocking mode to have the input characters read as soon as they arrive. However, when gst_play_kb_set_key_handler() gets called from restore_terminal() it forgets to restore the STDIN blocking status. This can result in broken behavior for cli command executed in the same terminal after gst-play-1.0 exited. It turns out that putting STDIN in non-blocking mode is not even the proper way to achieve the desired effect, instead VMIN and VTIME in struct termios should be set to 0. Let's do that, and don't mess with the STDIN blocking mode now that it's not necessary. https://bugzilla.gnome.org/show_bug.cgi?id=794591 |
||
---|---|---|
.. | ||
.gitignore | ||
gst-device-monitor-1.0.1 | ||
gst-device-monitor.c | ||
gst-discoverer-1.0.1 | ||
gst-discoverer.c | ||
gst-play-1.0.1 | ||
gst-play-kb.c | ||
gst-play-kb.h | ||
gst-play.c | ||
Makefile.am | ||
meson.build |