summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 76b7ac7883..db8b26eefa 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -9,6 +9,8 @@
#include "video/mp_image.h"
#include "video/hwdec.h"
+#define HWDEC_DELAY_QUEUE_COUNT 2
+
typedef struct lavc_ctx {
struct mp_log *log;
struct MPOpts *opts;
@@ -23,6 +25,10 @@ typedef struct lavc_ctx {
bool hwdec_failed;
bool hwdec_notified;
+ struct mp_image **delay_queue;
+ int num_delay_queue;
+ int max_delay_queue;
+
// From VO
struct mp_hwdec_info *hwdec_info;