comparison mencoder.c @ 4844:76acf5bbda78

exclude benchmark stuff execution from normal playback
author nick
date Sun, 24 Feb 2002 17:10:06 +0000
parents 5129860a980e
children 66b7488f9dd4
comparison
equal deleted inserted replaced
4843:00c875a22d10 4844:76acf5bbda78
145 // (they should be implemented in the audio codec layer) 145 // (they should be implemented in the audio codec layer)
146 //void skip_audio_frame(sh_audio_t *sh_audio){} 146 //void skip_audio_frame(sh_audio_t *sh_audio){}
147 //void resync_audio_stream(sh_audio_t *sh_audio){} 147 //void resync_audio_stream(sh_audio_t *sh_audio){}
148 148
149 int verbose=0; // must be global! 149 int verbose=0; // must be global!
150
151 double video_time_usage=0; 150 double video_time_usage=0;
152 double vout_time_usage=0; 151 double vout_time_usage=0;
153 double max_video_time_usage=0; 152 double max_video_time_usage=0;
154 double max_vout_time_usage=0; 153 double max_vout_time_usage=0;
155 double cur_video_time_usage=0; 154 double cur_video_time_usage=0;
156 double cur_vout_time_usage=0; 155 double cur_vout_time_usage=0;
157 static double audio_time_usage=0; 156 static double audio_time_usage=0;
158 static int total_time_usage_start=0; 157 static int total_time_usage_start=0;
159 static int benchmark=0; 158 int benchmark=0;
160 159
161 // A-V sync: 160 // A-V sync:
162 int delay_corrected=1; 161 int delay_corrected=1;
163 static float default_max_pts_correction=-1;//0.01f; 162 static float default_max_pts_correction=-1;//0.01f;
164 static float max_pts_correction=0;//default_max_pts_correction; 163 static float max_pts_correction=0;//default_max_pts_correction;