From 549294fbbe1c00fee37dc4d3f291b98945e11094 Mon Sep 17 00:00:00 2001 From: RĂ©mi Denis-Courmont Date: Thu, 25 Jul 2013 22:30:19 +0300 Subject: vdpau: deprecate VDPAU codec capability Signed-off-by: Anton Khirnov --- libavcodec/vdpau.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/vdpau.h') 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 /* @}*/ -- cgit v1.2.3