summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 05:56:20 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 05:56:20 +0000
commit9e9851231f6affd088fa1967678d13208da293f0 (patch)
treea510b19ffd0724173c1e3b39ccc5032a0d928bd4 /mplayer.c
parentf435320b213338e002bdfb795217de0eca1bb5ec (diff)
downloadmpv-9e9851231f6affd088fa1967678d13208da293f0.tar.bz2
mpv-9e9851231f6affd088fa1967678d13208da293f0.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20908 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mplayer.c b/mplayer.c
index a376ad61d0..a1df42b99d 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4487,14 +4487,7 @@ if(time_frame>0.001 && !(vo_flags&256))
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: =========================