summaryrefslogtreecommitdiff
path: root/libavcodec/vda.h
diff options
context:
space:
mode:
authorXidorn Quan <quanxunzhen@gmail.com>2014-01-27 20:35:23 +0100
committerSebastien Zwickert <dilaroga@gmail.com>2014-01-27 20:36:42 +0100
commit31a0ca9e75e4c91437c8681b9655a67f09b693dd (patch)
tree0dd52d170076041c7084facf990e37b3231f787e /libavcodec/vda.h
parent05e5bb6107b90f1f12348aae4373b17efbba08ff (diff)
downloadffmpeg-31a0ca9e75e4c91437c8681b9655a67f09b693dd.tar.gz
vda: fix crash when a frame is dropped.
Signed-off-by: Sebastien Zwickert <dilaroga@gmail.com>
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r--libavcodec/vda.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/vda.h b/libavcodec/vda.h
index b3d6399a65..2f68188c9c 100644
--- a/libavcodec/vda.h
+++ b/libavcodec/vda.h
@@ -41,6 +41,12 @@
#include "libavcodec/version.h"
+// extra flags not defined in VDADecoder.h
+enum {
+ kVDADecodeInfo_Asynchronous = 1UL << 0,
+ kVDADecodeInfo_FrameDropped = 1UL << 1
+};
+
/**
* @defgroup lavc_codec_hwaccel_vda VDA
* @ingroup lavc_codec_hwaccel