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. --- DOCS/man/en/mplayer.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 708fd10199..4f26e0e173 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -1036,6 +1036,17 @@ in a playlist or intend to read from stdin later on via the loadfile or loadlist slave commands. . .TP +.B \-noinitial-audio-sync +When starting a video file or after events such as seeking MPlayer will by +default modify the audio stream to make it start from the same timestamp as +video, by either inserting silence at the start or cutting away the first +samples. +This option disables that functionality and makes the player behave like +older MPlayer versions did: video and audio are both started immediately +even if their start timestamps differ, and then video timing is gradually +adjusted if necessary to reach correct synchronization later. +. +.TP .B \-nojoystick Turns off joystick support. . -- cgit v1.2.3