mpv/demux
wm4 6ede485e4b core: don't access demux_stream outside of demux.c, make it private
Generally remove all accesses to demux_stream from all the code, except
inside of demux.c. Make it completely private to demux.c.

This simplifies the code because it removes an extra concept. In demux.c
it is reduced to a simple packet queue. There were other uses of
demux_stream, but they were removed or are removed with this commit.

Remove the extra "ds" argument to demux fill_buffer callback. It was
used by demux_avi and the TV pseudo-demuxer only.

Remove usage of d_video->last_pts from the no-correct-pts code. This
field contains the last PTS retrieved after a packet that is not NOPTS.
We can easily get this value manually because we read the packets
ourselves. Reuse sh_video->last_pts to store the packet PTS values. It
was used only by the correct-pts code before, and like d_video->last_pts,
it is reset on seek. The behavior should be exactly the same.
2013-07-11 19:17:51 +02:00
..
codec_tags.c demux: fix big endian PCM in mkv with demux_mkv 2013-05-11 20:19:08 +02:00
codec_tags.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux.h core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_cue.c stream: remove padding parameter from stream_read_complete() 2013-06-23 22:33:59 +02:00
demux_edl.c stream: remove padding parameter from stream_read_complete() 2013-06-23 22:33:59 +02:00
demux_lavf.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_libass.c demux_libass: do charset conversion by -subcp 2013-06-25 00:11:56 +02:00
demux_mf.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_mkv.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_mng.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_packet.h demux: workaround for -demuxer mpegts -correct-pts 2013-05-21 22:07:13 +02:00
demux_rawaudio.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_rawvideo.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
demux_subreader.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
ebml.c stream: fix some aspects of EOF handling 2013-06-16 22:05:10 +02:00
ebml.h demux_mkv: use a bounded buffer for block data 2013-04-20 23:28:22 +02:00
extension.c Remove old demuxers 2013-07-07 23:54:11 +02:00
matroska.h demux_mkv: support dirac in mkv 2013-05-21 22:07:12 +02:00
mf.c demux_mf: fix crashes when '*' matches directories 2013-03-19 01:54:45 +01:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
ms_hdr.h ms_hdr: remove unused definitions 2013-07-10 02:00:47 +02:00
stheader.h core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00