Remove some unused code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20912 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2006-11-14 06:44:16 +00:00
parent 031e9068cc
commit 7181a091f8
1 changed files with 0 additions and 15 deletions

View File

@ -4153,11 +4153,8 @@ double last_pts = MP_NOPTS_VALUE;
int grab_frames=0; int grab_frames=0;
int drop_frame=0; // current dropping status int drop_frame=0; // current dropping status
int dropped_frames=0; // how many frames dropped since last non-dropped frame int dropped_frames=0; // how many frames dropped since last non-dropped frame
int too_slow_frame_cnt=0;
int too_fast_frame_cnt=0;
// for auto-quality: // for auto-quality:
double vdecode_time; double vdecode_time;
unsigned int lastframeout_ts=0;
/*float time_frame_corr_avg=0;*/ /* unused */ /*float time_frame_corr_avg=0;*/ /* unused */
float next_frame_time=0; float next_frame_time=0;
@ -4461,16 +4458,6 @@ if(time_frame>0.001 && !(vo_flags&256))
if(blit_frame){ if(blit_frame){
unsigned int t2=GetTimer(); unsigned int t2=GetTimer();
double tt; double tt;
float j;
#define FRAME_LAG_WARN 0.2
j = ((float)t2 - lastframeout_ts) / 1000000;
lastframeout_ts = GetTimer();
if (j < frame_time + frame_time * -FRAME_LAG_WARN)
too_fast_frame_cnt++;
/* printf ("PANIC: too fast frame (%.3f)!\n", j); */
else if (j > frame_time + frame_time * FRAME_LAG_WARN)
too_slow_frame_cnt++;
/* printf ("PANIC: too slow frame (%.3f)!\n", j); */
if(vo_config_count) video_out->flip_page(); if(vo_config_count) video_out->flip_page();
if (play_n_frames >= 0) { if (play_n_frames >= 0) {
@ -5379,8 +5366,6 @@ if(rel_seek_secs || abs_seek_pos){
osd_visible=(GetTimerMS() + 1000) | 1; // to revert to PLAY pointer after 1 sec osd_visible=(GetTimerMS() + 1000) | 1; // to revert to PLAY pointer after 1 sec
audio_time_usage=0; video_time_usage=0; vout_time_usage=0; audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
drop_frame_cnt=0; drop_frame_cnt=0;
too_slow_frame_cnt=0;
too_fast_frame_cnt=0;
if(vo_spudec) spudec_reset(vo_spudec); if(vo_spudec) spudec_reset(vo_spudec);
} }