mpv/stream
wm4 b04b48fc10 stream: always respect sector_size, fixes cdda://
Streams like CDDA have special requirements in what quantities data can
be read: you can only read a sector at once, not more and not less. The
stream_peek() function didn't respect that and set less (used internal
buffer size of 2048 bytes, instead of CD sector size of 2352 bytes), so
no data was read and EOF was accidentally set, making playback with
cdda:// fail.

This is a regression since commit 9a723f, but that commit merely exposed
the issue (the redundant seek would clear the EOF flag).
2014-01-02 00:39:14 +01:00
..
resolve quvi: mp_msg conversions 2013-12-21 21:43:17 +01:00
ai_alsa1x.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ai_oss.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
ai_sndio.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio_in.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio_in.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
cache.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
cdd.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
cdinfo.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
cookies.c stream: minor cookie cleanup 2013-12-22 13:29:16 +01:00
cookies.h options: move network related options to MPOpts 2013-12-22 13:11:22 +01:00
dvb_tune.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
dvb_tune.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
dvbin.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
frequencies.c Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
frequencies.h Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
pvr.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
rar.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
rar.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream.c stream: always respect sector_size, fixes cdda:// 2014-01-02 00:39:14 +01:00
stream.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_avdevice.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_bluray.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_cdda.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvb.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
stream_dvd.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
stream_dvd.h Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
stream_dvd_common.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvd_common.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvdnav.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvdnav.h dvdnav: crappy hack to respect timed still frames 2013-12-14 01:40:52 +01:00
stream_edl.c timeline: add edl:// URIs 2013-11-19 22:39:04 +01:00
stream_file.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_lavf.c stream: minor cookie cleanup 2013-12-22 13:29:16 +01:00
stream_memory.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_mf.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_null.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_pvr.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_radio.c stream_radio: suppress error with -Werror=format-security compilation flag 2013-12-22 21:00:15 +01:00
stream_radio.h Remove BSD legacy TV/radio support (BT848 stuff) 2013-02-06 23:03:39 +01:00
stream_rar.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_smb.c stream_smb: remove dead code 2013-12-22 23:42:58 +01:00
stream_tv.c Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
stream_vcd.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
tv.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tv.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tvi_def.h Fix some more -Wshadow warnings 2013-11-01 17:35:38 +01:00
tvi_dummy.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tvi_v4l2.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_darwin.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_fbsd.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_win32.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00