# HG changeset patch # User uau # Date 1163483780 0 # Node ID 5ded625e07ad5c0f08cd676ad8d03a28348b6a7c # Parent 5c61116649337b4889410070eeaec50b6b249228 Remove some incorrect code This code was apparently intended to duplicate frames in constant- framerate output in case of skipped input frames, but the test used (blit_frame not set at that location) is not correct for that use. If removing this code turns out to make the brokenness of other code more apparent then a better fix might be needed. diff -r 5c6111664933 -r 5ded625e07ad mplayer.c --- a/mplayer.c Tue Nov 14 05:03:47 2006 +0000 +++ b/mplayer.c Tue Nov 14 05:56:20 2006 +0000 @@ -4487,14 +4487,7 @@ t2=GetTimer()-t2; tt = t2*0.000001f; vout_time_usage+=tt; - } else { - /* - Well, no blitting is needed, but some devices (such as yuv4mpeg) - must output frames otherwise A/V desync will occur. -- Alvieboy - */ - if (vo_config_count) - video_out->control(VOCTRL_DUPLICATE_FRAME, NULL); - } + } } //====================== A-V TIMESTAMP CORRECTION: =========================