From 782d5ec3a0ae78e72c533f8ac286cad97bf90989 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 24 Jul 2013 19:41:24 +0200 Subject: 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. --- core/mplayer.c | 2 -- 1 file changed, 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 -- cgit v1.2.3