From 0383e89616a2b47b61037b1f558c64e8f98c4547 Mon Sep 17 00:00:00 2001 From: ods15 Date: Sun, 17 Jul 2005 19:25:33 +0000 Subject: -delay for MEncoder, step 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15993 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index 8e1a454252..c03bfaead1 100644 --- a/mencoder.c +++ b/mencoder.c @@ -146,7 +146,7 @@ static float max_pts_correction=0;//default_max_pts_correction; static float c_total=0; static float audio_preload=0.5; -static float audio_delay=0.0; +static float audio_delay_fix=0.0; static int audio_density=2; float force_fps=0; @@ -898,8 +898,8 @@ case ACODEC_COPY: if (verbose>1) print_wave_header(mux_a->wf); -if(audio_delay!=0.0){ - mux_a->h.dwStart=audio_delay*mux_a->h.dwRate/mux_a->h.dwScale; +if(audio_delay_fix!=0.0){ + mux_a->h.dwStart=audio_delay_fix*mux_a->h.dwRate/mux_a->h.dwScale; mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_SettingAudioDelay,mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate); } if(muxer->fix_stream_parameters) -- cgit v1.2.3