wm4
34259f11dc
stream_file: properly detect stdin as pipe
...
There is some code that checks a FD for whether it is a regular file or
not. If it's not a regular file, it e.g. enables use of poll() to avoid
blocking forever.
But this was done only for FDs that were open()ed by us, not from stdin
special handling or fd://. Consequently, " | mpv -" could block the
player. Fix this by moving the code and running for it on all FDs.
Also, set p->regular_file even on mingw.
2018-05-24 19:56:34 +02:00
..
2015-10-30 15:51:26 +01:00
2017-06-22 13:17:14 +02:00
2015-10-30 15:51:26 +01:00
2015-10-30 15:51:26 +01:00
2017-10-10 15:51:16 +02:00
2016-01-19 18:36:06 +01:00
2018-01-07 05:03:15 -08:00
2017-05-11 07:29:01 +02:00
2017-05-11 07:29:01 +02:00
2017-12-16 23:24:55 -08:00
2017-12-16 23:24:55 -08:00
2017-12-16 23:24:55 -08:00
2015-04-13 12:10:01 +02:00
2017-10-10 15:51:16 +02:00
2016-01-11 21:05:55 +01:00
2014-09-13 16:09:51 +02:00
2017-02-02 18:26:58 +01:00
2018-01-23 11:13:37 +00:00
2016-09-10 15:35:22 +02:00
2017-10-10 15:51:16 +02:00
2017-12-16 23:24:55 -08:00
2015-04-13 12:10:01 +02:00
2017-10-10 15:51:16 +02:00
2017-03-15 02:54:18 +01:00
2017-10-10 15:51:16 +02:00
2017-02-02 18:26:58 +01:00
2018-05-24 19:56:34 +02:00
2018-01-25 20:18:32 -08:00
2018-04-15 21:07:13 +03:00
2017-12-03 21:54:12 +01:00
2017-07-27 23:51:05 +02:00
2017-06-24 13:28:01 +02:00
2017-05-08 12:45:50 +02:00
2015-03-29 13:37:14 +02:00
2017-10-10 15:51:16 +02:00
2017-02-02 18:26:58 +01:00
2018-03-26 19:47:07 +02:00
2018-01-04 18:33:18 -08:00
2017-06-18 15:13:45 +02:00
2018-03-04 16:28:24 -08:00
2018-03-04 16:28:24 -08:00
2017-06-18 15:13:45 +02:00
2018-03-04 16:28:24 -08:00