huceke/omxplayer — pull request #52 by hackedd (2012-09-07 07:26:40+00:00)
Title: Make stdin non-blocking when not a tty

While writing a program that controls a running `omxplayer` instance, I came to the conclusion that the `getchar()` call in the main loop blocks when `stdin` is not a `tty`.