core: do initial A-V sync by modifying audio stream
commita4ce95de811698503075a5f0b513e595f11f97a4
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 13 Nov 2010 17:27:01 +0000 (13 19:27 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 13 Nov 2010 17:46:02 +0000 (13 19:46 +0200)
tree20785a9ff28439b08fb22993e25954731937bc25
parent642ce15ef770dd5dbea7c7ee16cbf45f6e86feae
core: do initial A-V sync by modifying audio stream

Add code to enforce matching pts with video when (re)starting the
audio stream, by either cutting away the first samples or inserting
silence at the beginning. New option -noinitial-audio-sync can be used
to disable this and return to old behavior.
DOCS/man/en/mplayer.1
cfg-mplayer.h
defaultopts.c
libmpcodecs/dec_audio.c
libmpcodecs/dec_audio.h
mp_core.h
mplayer.c
options.h