summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-15 06:08:44 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-15 06:08:44 +0300
commita47ef5fed65ede96ad411fdebfa910feb6a3bb4e (patch)
treeb3b1b65d36258a77bbed626b9d04c4ee93157425 /subreader.c
parentc1c68a6914e54a16ad99dcc60833210fca4bb64a (diff)
downloadmpv-a47ef5fed65ede96ad411fdebfa910feb6a3bb4e.tar.bz2
mpv-a47ef5fed65ede96ad411fdebfa910feb6a3bb4e.tar.xz
ad_pcm: don't rely on demux packets staying valid
Change ad_pcm to copy input packet data into an internal buffer instead of relying on the packet still existing at the next decode() call. The extra memcpy could be avoided by improving the demuxer API a bit but I don't feel like implementing that now. Also add a ADCTRL_RESYNC_STREAM handler to drop buffered data from previous stream position.
Diffstat (limited to 'subreader.c')
0 files changed, 0 insertions, 0 deletions