Mercurial > mplayer.hg
comparison mplayer.c @ 18323:d0180ac33e32
Remove a useless variable.
author | uau |
---|---|
date | Thu, 27 Apr 2006 22:13:59 +0000 |
parents | b3be7df634b0 |
children | fdface43ee10 |
comparison
equal
deleted
inserted
replaced
18322:62cdcca26777 | 18323:d0180ac33e32 |
---|---|
2353 | 2353 |
2354 char * mem_ptr; | 2354 char * mem_ptr; |
2355 | 2355 |
2356 int file_format=DEMUXER_TYPE_UNKNOWN; | 2356 int file_format=DEMUXER_TYPE_UNKNOWN; |
2357 | 2357 |
2358 int delay_corrected=1; | |
2359 | |
2360 // movie info: | 2358 // movie info: |
2361 | 2359 |
2362 #ifdef HAVE_RTC | 2360 #ifdef HAVE_RTC |
2363 int rtc_fd=-1; | 2361 int rtc_fd=-1; |
2364 #endif | 2362 #endif |
3961 } | 3959 } |
3962 v_pts=sh_video ? sh_video->pts : d_video->pts; | 3960 v_pts=sh_video ? sh_video->pts : d_video->pts; |
3963 | 3961 |
3964 mp_dbg(MSGT_AVSYNC,MSGL_DBG2,"### A:%8.3f (%8.3f) V:%8.3f A-V:%7.4f \n",a_pts,a_pts-audio_delay-delay,v_pts,(a_pts-delay-audio_delay)-v_pts); | 3962 mp_dbg(MSGT_AVSYNC,MSGL_DBG2,"### A:%8.3f (%8.3f) V:%8.3f A-V:%7.4f \n",a_pts,a_pts-audio_delay-delay,v_pts,(a_pts-delay-audio_delay)-v_pts); |
3965 | 3963 |
3966 if(delay_corrected){ | 3964 { |
3967 static int drop_message=0; | 3965 static int drop_message=0; |
3968 float x; | 3966 float x; |
3969 AV_delay=(a_pts-delay-audio_delay)-v_pts; | 3967 AV_delay=(a_pts-delay-audio_delay)-v_pts; |
3970 if(AV_delay>0.5 && drop_frame_cnt>50 && drop_message==0){ | 3968 if(AV_delay>0.5 && drop_frame_cnt>50 && drop_message==0){ |
3971 ++drop_message; | 3969 ++drop_message; |