mpv/stream
wm4 ca75fedaf4 stream_dvdnav: ok, this makes no sense at all
The dvdnav API reads in 2K blocks (dvdnav_get_next_block()). The mpv
wrapper (fill_buffer() in this file) expects that the read size done by
the mpv core is at least 2K for this reason. If not, it returns an
error.

This used to be OK, because there was a thing called section alignment
in the core code. This was removed because the core shouldn't suffer
from optical disc idiosyncrasies. Which means that ever since, it has
been working only by coincidence, or maybe not at all.

Fixing this would require keeping a buffer in the priv struct, and
returning it piece by piece if the core makes smaller reads. I have no
intention of writing such code, so add an error message asking for a
patch. If anyone actually cares about DVD, maybe it'll get fixed.
2019-11-07 22:53:13 +01: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 stream_dvb: Remove now replaced stream-control code for good. 2019-10-02 01:25:45 +02:00
stream.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream.h stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_avdevice.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_bluray.c stream_bluray: remove size getter 2019-11-07 22:53:13 +01:00
stream_cb.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_cdda.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_concat.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_dvb.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_dvdnav.c stream_dvdnav: ok, this makes no sense at all 2019-11-07 22:53:13 +01:00
stream_edl.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_file.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_lavf.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_libarchive.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00
stream_mf.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_null.c stream_null: change license to LGPL 2017-05-08 12:45:50 +02:00
stream_smb.c stream: change buffer argument types from char* to void* 2019-11-07 22:53:13 +01:00