0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/stream
wm4 d7ca95c3ea command: whitelist some blocking accesses for certain demuxers/streams
The properties/commands touched in this commit are all for obscure
special inputs (BD/DVD/DVB/TV), and they all block on the demuxer/stream
layer. For network streams, this blocking is very unwelcome. They will
affect playback and probably introduce pauses and frame drops. The
player can even freeze fully, and the logic that tries to make playback
abortable even if frozen complicates the player.

Since the mentioned accesses are not needed for network streams, but
they will block on network streams even though they're going to fail,
add a flag that coarsely enables/disables these accesses. Essentially it
establishes a whitelist of demuxers/streams which support them.

In theory you could to access BD/DVD images over network (or add such
support, I don't think it's a thing in mpv). In these cases these
controls still can block and could even "freeze" the player completely.

Writing to the "program" and "cache-size" properties still can block
even for network streams. Just don't use them if you don't want freezes.
2018-05-24 19:56:35 +02:00
..
ai_alsa1x.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
ai_oss.c build: simplify OSS checks and remove changes by "bugmen0t" 2017-06-22 13:17:14 +02:00
ai_sndio.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
audio_in.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
audio_in.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
cache_file.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
cache.c misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02:00
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 Update license headers 2015-04-13 12:10:01 +02:00
frequencies.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
rar.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
rar.h stream: redo playback abort handling 2014-09-13 16:09:51 +02: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_cb: don't add "*://" to protocol list 2016-09-10 15:35:22 +02:00
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 command: whitelist some blocking accesses for certain demuxers/streams 2018-05-24 19:56:35 +02:00
stream_dvd_common.c Update license headers 2015-04-13 12:10:01 +02:00
stream_dvd_common.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02: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_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: use a separate mp_cancel thing 2018-05-24 19:56:35 +02:00
stream_lavf.c misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02:00
stream_libarchive.c misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02: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_rar: update comment 2015-03-29 13:37:14 +02:00
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
stream.c misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02:00
stream.h command: whitelist some blocking accesses for certain demuxers/streams 2018-05-24 19:56:35 +02: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