mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
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.
This commit is contained in:
parent
e83cbde1a4
commit
782d5ec3a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user