diff options
author | RĂ©mi Denis-Courmont | 2013-07-25 22:30:19 +0300 |
---|---|---|
committer | Anton Khirnov | 2013-08-05 11:20:32 +0200 |
commit | 549294fbbe1c00fee37dc4d3f291b98945e11094 (patch) | |
tree | 6ae926d67f115bd077eb0a4d9a2c35a8b41bc6ae /libavcodec/vdpau.h | |
parent | a0ad5d011318f951ecd4c9ffe1829518c9533909 (diff) |
vdpau: deprecate VDPAU codec capability
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r-- | libavcodec/vdpau.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index a58931503b..18efcaa6e5 100644 --- a/libavcodec/vdpau.h +++ b/libavcodec/vdpau.h @@ -113,7 +113,7 @@ typedef struct AVVDPAUContext { VdpBitstreamBuffer *bitstream_buffers; } AVVDPAUContext; - +#if FF_API_CAP_VDPAU /** @brief The videoSurface is used for rendering. */ #define FF_VDPAU_STATE_USED_FOR_RENDER 1 @@ -145,6 +145,7 @@ struct vdpau_render_state { /** The user is responsible for freeing this buffer using av_freep(). */ VdpBitstreamBuffer *bitstream_buffers; }; +#endif /* @}*/ |