summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-24 19:41:24 +0200
committerwm4 <wm4@nowhere>2013-07-24 19:41:24 +0200
commit782d5ec3a0ae78e72c533f8ac286cad97bf90989 (patch)
tree701d98e9dd01d9f21be4bd2c3bf607a4294aa924
parente83cbde1a4b816a64cefde1fb8bdbac403079600 (diff)
downloadmpv-782d5ec3a0ae78e72c533f8ac286cad97bf90989.tar.bz2
mpv-782d5ec3a0ae78e72c533f8ac286cad97bf90989.tar.xz
mplayer: remove dead code
Attached pictures are now handled specially and on a separate codepath, so this hack is not needed anymore. Remove it from the normal codepath.
-rw-r--r--core/mplayer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 3e3f5f5907..4d1dc64de5 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -2650,8 +2650,6 @@ static double update_video(struct MPContext *mpctx, double endpts)
return 0;
pts = video_out->next_pts;
- if (sh_video->gsh->attached_picture)
- pts = mpctx->last_seek_pts;
if (pts == MP_NOPTS_VALUE) {
mp_msg(MSGT_CPLAYER, MSGL_ERR, "Video pts after filters MISSING\n");
// Try to use decoder pts from before filters