0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/stream
wm4 792844f873 stream: read at least a full buffer with stream_peek()
Until now, stream_peek() read only the bare minimum it had to read from
the stream. But this could cause problems, such as being very
inefficient when peeking a lot, or conflicting with ability to seek
back. (The latter issue can be caused by peeking a few bytes, and then
doing a stream_read() with a size that is 1 byte longer: this would read
the peeked data, then call stream_fill_buffer(), which throws away the
previously peeked bytes - so you can't seek back anymore. This is
mitigated by a hack in demux_open(): it peeks a full buffer, to avoid
that peeking/reading during demuxer probing [or before that, in a stream
filter] can cause the buffer to be dropped.)
2013-08-28 23:08:08 +02:00
..
ai_alsa1x.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ai_oss.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
audio_in.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
audio_in.h Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
cache.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
cdd.h Remove some leftovers from network removal 2013-07-07 21:10:44 +02:00
cdinfo.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
cookies.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
cookies.h Remove internal network support 2013-07-07 19:42:38 +02:00
dvb_tune.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
dvb_tune.h Add header for exported DVB-related functions. 2010-02-21 21:00:08 +00:00
dvbin.h stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02: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: add uncompressed rar support 2013-08-26 10:09:46 +02:00
rar.h stream: add uncompressed rar support 2013-08-26 10:09:46 +02: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: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_cdda.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_dvb.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_dvd_common.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
stream_dvd_common.h Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
stream_dvd.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_dvd.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
stream_file.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_lavf.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02: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: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_radio.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_radio.h Remove BSD legacy TV/radio support (BT848 stuff) 2013-02-06 23:03:39 +01:00
stream_rar.c stream: add uncompressed rar support 2013-08-26 10:09:46 +02:00
stream_smb.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_tv.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_vcd.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream.c stream: read at least a full buffer with stream_peek() 2013-08-28 23:08:08 +02:00
stream.h stream: add uncompressed rar support 2013-08-26 10:09:46 +02:00
tv.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
tv.h Cleanup some include statements 2013-07-12 22:16:26 +02:00
tvi_def.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_dummy.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_v4l2.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vcd_read_darwin.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vcd_read_fbsd.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vcd_read_win32.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vcd_read.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00