gstreamer/tools
Antonio Ospite cfc1be0d61 tools: play: fix leaving STDIN in non-blocking mode after exit
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
2018-03-26 11:59:56 +01:00
..
.gitignore tools: add gst-device-monitor-1.0 utility 2014-06-27 11:07:21 +01:00
gst-device-monitor-1.0.1 tools: add gst-device-monitor-1.0 utility 2014-06-27 11:07:21 +01:00
gst-device-monitor.c tools: gst-device-monitor: Print gst-launch example 2017-04-11 14:27:59 -04:00
gst-discoverer-1.0.1 tools: remove gst-visualise script 2012-08-18 21:38:14 +01:00
gst-discoverer.c discoverer: output channel positions 2017-10-11 19:47:24 +02:00
gst-play-1.0.1 tools: gst-play: add 'n' and 'b' as additional shortcuts for next/previous item 2016-02-25 23:16:22 +00:00
gst-play-kb.c tools: play: fix leaving STDIN in non-blocking mode after exit 2018-03-26 11:59:56 +01:00
gst-play-kb.h tools: play: implement seeking via console in interactive mode 2013-11-24 14:38:25 +00:00
gst-play.c gst-play: Prevent disabling all streams 2017-10-27 09:51:29 +02:00
Makefile.am Remove obsolete Android build cruft 2015-04-26 18:42:34 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:09:51 +01:00