mpv/stream
wm4 5a4a69cb58 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-25 10:47:46 +02:00
..
ai_alsa1x.c
ai_oss.c build: simplify OSS checks and remove changes by "bugmen0t" 2017-06-22 13:17:14 +02:00
ai_sndio.c
audio_in.c
audio_in.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
cache.c cache: fix --cache-initial status message 2018-01-07 05:03:15 -08:00
cache_file.c
cookies.c cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
cookies.h cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
dvb_tune.c dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvb_tune.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvbin.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
frequencies.c
frequencies.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
rar.c
rar.h
stream.c demux, stream: ignore packets and errors on forced exit 2018-03-26 19:47:07 +02:00
stream.h stream: use native libavformat reconnection feature 2018-01-04 18:33:18 -08:00
stream_avdevice.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_bluray.c stream_bluray: always show list of available titles 2018-01-23 11:13:37 +00:00
stream_cb.c
stream_cdda.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_dvb.c dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
stream_dvd.c stream_dvd: fix subs/audio detection on DVDs containing multi-PGC titles 2017-03-15 02:54:18 +01:00
stream_dvd_common.c
stream_dvd_common.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_dvdnav.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_edl.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
stream_file.c stream_file: properly detect stdin as pipe 2018-05-25 10:47:46 +02:00
stream_lavf.c stream_lavf: remove deprecated hls protocol from whitelist 2018-01-25 20:18:32 -08:00
stream_libarchive.c stream_libarchive: mark as needing cache 2018-04-15 21:07:13 +03:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c vo_opengl: support loading custom user textures 2017-07-27 23:51:05 +02:00
stream_mf.c demux_mf, stream_mf: change license to LGPL 2017-06-24 13:28:01 +02:00
stream_null.c stream_null: change license to LGPL 2017-05-08 12:45:50 +02:00
stream_rar.c
stream_smb.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_tv.c stream: get rid of streamtype enum 2017-02-02 18:26:58 +01:00
tv.c Drop/move img_fourcc.h 2017-06-18 15:13:45 +02:00
tv.h tv: Recognise v4l2 'JPEG' fourcc 2018-03-04 16:28:24 -08:00
tvi_def.h tv: Recognise v4l2 'JPEG' fourcc 2018-03-04 16:28:24 -08:00
tvi_dummy.c Drop/move img_fourcc.h 2017-06-18 15:13:45 +02:00
tvi_v4l2.c tv: Recognise v4l2 'JPEG' fourcc 2018-03-04 16:28:24 -08:00