summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-10 16:19:57 +0100
committerwm4 <wm4@nowhere>2017-01-10 16:20:02 +0100
commited937b6eca269c653fcaa39db14c2623dd3d2862 (patch)
tree461d31459f6ee3e14e95ce1b71e78e86d275444b /video/decode/lavc.h
parent4e25feda0d5e084761a9935de7c1e592e86de94f (diff)
downloadmpv-ed937b6eca269c653fcaa39db14c2623dd3d2862.tar.bz2
mpv-ed937b6eca269c653fcaa39db14c2623dd3d2862.tar.xz
video: restructure decode loop
Basically change everything. Why does the code get larger? No idea.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 993c3ec437..4f590fa52a 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -25,9 +25,13 @@ typedef struct lavc_ctx {
bool hwdec_failed;
bool hwdec_notified;
+ int framedrop_flags;
+
// For HDR side-data caching
double cached_hdr_peak;
+ struct demux_packet *prev_packet;
+
struct mp_image **delay_queue;
int num_delay_queue;
int max_delay_queue;