Generalize GetVaapiContext to GetHwAccelContext.

This commit is contained in:
Johns
2013-08-03 17:27:52 +02:00
parent 8ff65a011a
commit d8e96c7871
6 changed files with 47 additions and 24 deletions

View File

@@ -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