1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/demux
wm4 480f82fa96 demux: don't access stream while lock is held
Although this is fine when the stream cache is active (which caches
these and returns the result immediately), it seems cleaner not to
rely on this detail.

Remove the update_cache() call from demux_thread(), because it's sort
of in the way. I forgot why it exists, and there's probably no good
reason for it to exist anyway.
2014-10-24 16:04:56 +02:00
..
codec_tags.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
codec_tags.h audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux_cue.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
demux_disc.c demux_disc: bluray: fix stream language (2) 2014-09-30 23:38:01 +02:00
demux_edl.c
demux_lavf.c player: add stream selection by ffmpeg index 2014-10-21 13:19:20 +02:00
demux_libass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
demux_mf.c demux: gracefully handle packet allocation failures 2014-09-16 18:11:00 +02:00
demux_mkv.c demux_mkv: fix undefined behavior 2014-10-13 16:42:00 +02:00
demux_playlist.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
demux_raw.c stream_cdda, demux_raw: always use s16le 2014-09-25 21:32:06 +02:00
demux_subreader.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux.c demux: don't access stream while lock is held 2014-10-24 16:04:56 +02:00
demux.h demux: get rid of old wrapper 2014-09-01 22:12:39 +02:00
ebml.c Remove mpbswap.h 2014-09-25 21:32:55 +02:00
ebml.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
matroska.h demux_mkv: add S_DVBSUB 2014-06-17 22:44:27 +02:00
mf.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
mf.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
packet.c demux: gracefully handle packet allocation failures 2014-09-16 18:11:00 +02:00
packet.h demux: always use AVPacket 2014-08-25 00:46:26 +02:00
stheader.h player: add stream selection by ffmpeg index 2014-10-21 13:19:20 +02:00