mpv/stream
Mohammad AlSaleh bb7a485c09 stream: don't try to read from all-sparse/no-data files
```
 dd if=/dev/zero of=/tmp/10g.empty bs=1 seek=10G count=0
 dd if=/dev/zero of=/tmp/10m.empty bs=1 seek=10M count=0
 time mpv /tmp/10{g,m}.empty
 ```

 I keep files with the name format `${name}-${hash}.${ext}.empty`
 around, where the original is removed, and a sparse file with
 the size of the original is created instead.

 A lot of time is wasted on such files when going through
 playlists/directories that include some of them.

 This admittedly may not be that common of a use-case.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-05-07 12:22:09 +02:00
..
cookies.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
cookies.h
dvb_tune.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
dvb_tune.h
dvbin.h dvbin: do a big cleanup on code style and functions 2023-10-21 11:07:59 +02:00
stream.c various: move strings.h inclusion to common.h 2024-05-06 22:01:17 +02:00
stream.h stream: increase max_size to INT_MAX minus padding 2024-01-31 15:38:21 +00:00
stream_avdevice.c
stream_bluray.c various: move strings.h inclusion to common.h 2024-05-06 22:01:17 +02:00
stream_cb.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
stream_cdda.c stream_cdda: deprecate --cdda-toc-bias and always check for offsets 2023-10-19 12:10:53 -05:00
stream_concat.c
stream_dvb.c various: fix indentation 2024-05-07 11:23:08 +02:00
stream_dvdnav.c various: fix indentation 2024-05-07 11:23:08 +02:00
stream_edl.c
stream_file.c stream: don't try to read from all-sparse/no-data files 2024-05-07 12:22:09 +02:00
stream_lavf.c various: fix indentation 2024-05-07 11:23:08 +02:00
stream_libarchive.c various: add some missing error checks 2023-11-18 23:55:28 +00:00
stream_libarchive.h
stream_memory.c
stream_mf.c various: fix indentation 2024-05-07 11:23:08 +02:00
stream_null.c various: fix indentation 2024-05-07 11:23:08 +02:00
stream_slice.c various: fix indentation 2024-05-07 11:23:08 +02:00