summaryrefslogtreecommitdiff
path: root/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video.h')
-rw-r--r--video.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/video.h b/video.h
index eaacc0a..5a03d4c 100644
--- a/video.h
+++ b/video.h
@@ -60,6 +60,12 @@ extern struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder *);
/// Callback to negotiate the PixelFormat.
extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *,
const enum PixelFormat *);
+
+#ifdef AVCODEC_VDPAU_H
+ /// Draw vdpau render state
+extern void VideoDrawRenderState(VideoHwDecoder *,
+ struct vdpau_render_state *);
+#endif
#endif
/// Display video TEST