Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2013-07-25 23:30:19 +0400
committerAnton Khirnov <anton@khirnov.net>2013-08-05 13:20:32 +0400
commit549294fbbe1c00fee37dc4d3f291b98945e11094 (patch)
tree6ae926d67f115bd077eb0a4d9a2c35a8b41bc6ae /libavcodec/avcodec.h
parenta0ad5d011318f951ecd4c9ffe1829518c9533909 (diff)
vdpau: deprecate VDPAU codec capability
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a84c0130a9..7b26de1c53 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -700,10 +700,12 @@ typedef struct RcOverride{
* This can be used to prevent truncation of the last audio samples.
*/
#define CODEC_CAP_SMALL_LAST_FRAME 0x0040
+#if FF_API_CAP_VDPAU
/**
* Codec can export data for HW decoding (VDPAU).
*/
#define CODEC_CAP_HWACCEL_VDPAU 0x0080
+#endif
/**
* Codec can output multiple frames per AVPacket
* Normally demuxers return one frame at a time, demuxers which do not do