1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/demux
wm4 ac82c73224 demux: apply sparse video hack only to demux_lavf and demux_mkv
Apparently this cuases trouble for legacy demuxers. demux_mpg stopped
doing PCM audio. (The problem was probably that it read a bunch of
video packets on detection, and then the sparse video hack prevented
audio packets from being read, because it looked like there were no
more audio packets. With sparse video, this normally helps not reading
too many audio packets.)

Since the legacy demuxers do not need this hack, enable it for
demux_lavf and demux_mkv only.

Some additional hacks that were needed to handle legacy demuxers can be
removed, making the code simpler.

Also see commit 4a40eed.
2013-02-14 19:53:15 +01:00
..
asf.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
asfguid.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
asfheader.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
asfheader.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
aviheader.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
aviheader.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
aviprint.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
aviprint.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
codec_tags.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
codec_tags.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_asf.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_avi.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_cue.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
demux_edl.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
demux_lavf.c demux_lavf, ad_lavc, vd_lavc: pass codec header data directly 2013-02-10 17:25:57 +01:00
demux_mf.c demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
demux_mkv.c demux_lavf: remove code duplication 2013-02-10 17:25:57 +01:00
demux_mng.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_mpg.c demux_mpg: fix setting codec 2013-02-14 19:52:34 +01:00
demux_packet.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_rawaudio.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_rawvideo.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_ts.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_ts.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
demux.c demux: apply sparse video hack only to demux_lavf and demux_mkv 2013-02-14 19:53:15 +01:00
demux.h demux: restructure code that warns about packet buffer overflows 2013-02-14 19:53:06 +01:00
ebml.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
ebml.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
extension.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
matroska.h demux_mkv: support V_UNCOMPRESSED video tracks 2013-01-24 17:45:13 +01:00
mf.c Replace strsep() uses 2013-01-13 17:32:39 +01:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
mp3_hdr.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
mp3_hdr.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
mpeg_hdr.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
mpeg_hdr.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
ms_hdr.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
parse_es.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
parse_es.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stheader.h demux_lavf, ad_lavc, vd_lavc: pass codec header data directly 2013-02-10 17:25:57 +01:00
video.c demux: apply sparse video hack only to demux_lavf and demux_mkv 2013-02-14 19:53:15 +01:00