summaryrefslogtreecommitdiff
path: root/codec.c
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 /codec.c
parent8ff65a011a6e6a76167734b21c3eb7dac9a905b1 (diff)
downloadvdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.gz
vdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.bz2
Generalize GetVaapiContext to GetHwAccelContext.
Diffstat (limited to 'codec.c')
-rw-r--r--codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec.c b/codec.c
index 4bd15fe..4eea14f 100644
--- a/codec.c
+++ b/codec.c
@@ -483,7 +483,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id)
} else {
decoder->VideoCtx->get_format = Codec_get_format;
decoder->VideoCtx->hwaccel_context =
- VideoGetVaapiContext(decoder->HwDecoder);
+ VideoGetHwAccelContext(decoder->HwDecoder);
}
// our pixel format video hardware decoder hook