diff options
author | wm4 <wm4@nowhere> | 2017-10-26 19:44:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-26 19:44:26 +0200 |
commit | 22fa498bf9968e622e7d6326006c3f321a3bf2e4 (patch) | |
tree | 923293fc81020effe754ba8411708d1103dca583 /video/decode/lavc.h | |
parent | ae8b531207b3206b9ff1ab7d17092899bd67c565 (diff) | |
download | mpv-22fa498bf9968e622e7d6326006c3f321a3bf2e4.tar.bz2 mpv-22fa498bf9968e622e7d6326006c3f321a3bf2e4.tar.xz |
vd_lavc: more aggressive frame dropping for intra only codecs
Should speed up seeks.
(Unfortunately it's useless for backstepping. Backstepping is like
precise seeking, except we're unable to drop frames, as we can't know
the previous frame if we drop it.)
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index ff819d751b..8383c0a67f 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -37,6 +37,7 @@ typedef struct lavc_ctx { bool hwdec_failed; bool hwdec_notified; + bool intra_only; int framedrop_flags; // For HDR side-data caching |