Mercurial > mplayer.hg
changeset 20892:5ded625e07ad
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.
author | uau |
---|---|
date | Tue, 14 Nov 2006 05:56:20 +0000 |
parents | 5c6111664933 |
children | ecb27a14d88d |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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: =========================