summaryrefslogtreecommitdiff
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-14 18:16:26 +0200
committerAnton Khirnov <anton@khirnov.net>2015-07-19 09:47:45 +0200
commitf5c4d38c78347b09478e21a661befff4b2d44643 (patch)
treea7744aeda4fde5ee1c408fb02fe2ba50f7cb6aca /libavcodec/qsv_internal.h
parent6b15874fc2c3f565732201f7907ae1112727d6ae (diff)
qsvdec: properly handle asynchronous decoding
Wait for async_depth frames before syncing.
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r--libavcodec/qsv_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index a0f4c7cef3..949f6ebf9b 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -40,6 +40,8 @@ typedef struct QSVFrame {
mfxFrameSurface1 surface_internal;
+ int queued;
+
struct QSVFrame *next;
} QSVFrame;