diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-13 19:27:01 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-13 19:46:02 +0200 |
commit | a4ce95de811698503075a5f0b513e595f11f97a4 (patch) | |
tree | 20785a9ff28439b08fb22993e25954731937bc25 /defaultopts.c | |
parent | 642ce15ef770dd5dbea7c7ee16cbf45f6e86feae (diff) | |
download | mpv-a4ce95de811698503075a5f0b513e595f11f97a4.tar.bz2 mpv-a4ce95de811698503075a5f0b513e595f11f97a4.tar.xz |
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.
Diffstat (limited to 'defaultopts.c')
-rw-r--r-- | defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defaultopts.c b/defaultopts.c index 1314e21f28..5b4e8f762f 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -28,6 +28,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .chapterrange = {-1, -1}, .edition_id = -1, .user_correct_pts = -1, + .initial_audio_sync = 1, .key_fifo_size = 7, .doubleclick_time = 300, .audio_id = -1, |