From a4ce95de811698503075a5f0b513e595f11f97a4 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 13 Nov 2010 19:27:01 +0200 Subject: 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. --- defaultopts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'defaultopts.c') 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, -- cgit v1.2.3