diff options
author | wm4 <wm4@nowhere> | 2015-10-03 22:10:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-03 22:10:44 +0200 |
commit | 3ccac74de22bc79e3a228b52ffcb5bbb927772dd (patch) | |
tree | 10bab4396e1de745d51907febbe3a3555abbcec3 /video/decode/vd.h | |
parent | ee283843fab8b07d7a6e00e70efbb27a46e8a40d (diff) | |
download | mpv-3ccac74de22bc79e3a228b52ffcb5bbb927772dd.tar.bz2 mpv-3ccac74de22bc79e3a228b52ffcb5bbb927772dd.tar.xz |
video: remove codec delay estimation
This was used only by the timestamp sorting code, which is a fallback
for avi files (as well as avi-muxed mkv files). This was supposed to
prevent accumulating timestamps in case the decoder consumes more
packets than it outputs frames (i.e. frames are dropped). This didn't
work very well (timestamps could be off by a large amount), the
estimation of the delay was fragile, and the interdependencies with the
decoder were annoying, so kill it.
Diffstat (limited to 'video/decode/vd.h')
-rw-r--r-- | video/decode/vd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/decode/vd.h b/video/decode/vd.h index 6f5016ac37..2c812dd4e1 100644 --- a/video/decode/vd.h +++ b/video/decode/vd.h @@ -42,7 +42,6 @@ extern const vd_functions_t *const mpcodecs_vd_drivers[]; enum vd_ctrl { VDCTRL_RESET = 1, // reset decode state after seeking - VDCTRL_QUERY_UNSEEN_FRAMES, // current decoder lag VDCTRL_FORCE_HWDEC_FALLBACK, // force software decoding fallback VDCTRL_GET_HWDEC, }; |