1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/stream
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
..
ai_alsa1x.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
ai_oss.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
audio_in.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01: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 cache: fix compilation without posix timers 2013-07-08 20:04:07 +02:00
cdd.h Remove some leftovers from network removal 2013-07-07 21:10:44 +02:00
cdinfo.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cookies.c Remove internal network support 2013-07-07 19:42:38 +02:00
cookies.h Remove internal network support 2013-07-07 19:42:38 +02:00
dvb_tune.c Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
dvb_tune.h Add header for exported DVB-related functions. 2010-02-21 21:00:08 +00:00
dvbin.h stream/dvbin.h: Use angular brackets for system #includes. 2010-11-02 04:11:07 +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
stream_avdevice.c demux_lavf: add support for libavdevice 2012-12-03 21:08:51 +01:00
stream_bluray.c stream: remove weird STREAMTYPE_STREAM special handling 2013-07-07 21:10:44 +02:00
stream_cdda.c Remove internal network support 2013-07-07 19:42:38 +02:00
stream_dvb.c Remove old demuxers 2013-07-07 23:54:11 +02:00
stream_dvd_common.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01: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: remove weird STREAMTYPE_STREAM special handling 2013-07-07 21:10:44 +02:00
stream_dvd.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_file.c stream: remove weird STREAMTYPE_STREAM special handling 2013-07-07 21:10:44 +02:00
stream_lavf.c Remove some leftovers from network removal 2013-07-07 21:10:44 +02:00
stream_memory.c stream: redo memory streams 2013-06-28 15:40:15 +02:00
stream_mf.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_null.c Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
stream_pvr.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_radio.c stream_radio: fix build 2013-07-08 03:19:46 +02:00
stream_radio.h Remove BSD legacy TV/radio support (BT848 stuff) 2013-02-06 23:03:39 +01:00
stream_smb.c stream: don't set EOF flag in stream implementations 2013-06-16 22:05:10 +02:00
stream_tv.c stream/tv: remove unused dshow-specific options 2013-07-08 18:02:46 +02:00
stream_vcd.c Remove old demuxers 2013-07-07 23:54:11 +02:00
stream.c stream: unbreak streams with large sector sizes (stream_cdda) 2013-07-07 21:58:48 +02:00
stream.h stream: remove weird STREAMTYPE_STREAM special handling 2013-07-07 21:10:44 +02:00
tv.c core: don't access demux_stream outside of demux.c, make it private 2013-07-11 19:17:51 +02:00
tv.h stream/tv: remove unused dshow-specific options 2013-07-08 18:02:46 +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 Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
vcd_read_darwin.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
vcd_read_fbsd.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
vcd_read_win32.h vcd_read_win32.h: fix compilation on MinGW-w64 2013-04-06 00:00:16 +02:00
vcd_read.h vcd_read: cleanup ifdefs 2013-04-04 14:03:22 +02:00