summaryrefslogtreecommitdiff
path: root/video.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-08-03 17:27:52 +0200
committerJohns <johns98@gmx.net>2013-08-03 17:27:52 +0200
commitd8e96c7871078d376de02210d2c350998f5a1fba (patch)
treec938e0c8881f39e3d17af39c6e08fa99b928a9fc /video.h
parent8ff65a011a6e6a76167734b21c3eb7dac9a905b1 (diff)
downloadvdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.gz
vdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.bz2
Generalize GetVaapiContext to GetHwAccelContext.
Diffstat (limited to 'video.h')
-rw-r--r--video.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video.h b/video.h
index 5e27b73..fa3e44f 100644
--- a/video.h
+++ b/video.h
@@ -67,8 +67,8 @@ extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *,
extern void VideoRenderFrame(VideoHwDecoder *, const AVCodecContext *,
const AVFrame *);
- /// Get ffmpeg vaapi context.
-extern struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder *);
+ /// Get hwaccel context for ffmpeg.
+extern void *VideoGetHwAccelContext(VideoHwDecoder *);
#ifdef AVCODEC_VDPAU_H
/// Draw vdpau render state.