From e103e6dbcfb25058bf704802a73295c769016f68 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 2 Apr 2009 08:53:34 +0000 Subject: [PATCH] Register VA API HW accelerators. Pending bits from earlier approved patches: https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/066111.html https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-April/066918.html Originally committed as revision 18313 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/allcodecs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 17adff06dd..cbc648c99f 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -54,6 +54,9 @@ void avcodec_register_all(void) initialized = 1; /* hardware accelerators */ + REGISTER_HWACCEL (H263_VAAPI, h263_vaapi); + REGISTER_HWACCEL (MPEG2_VAAPI, mpeg2_vaapi); + REGISTER_HWACCEL (MPEG4_VAAPI, mpeg4_vaapi); /* video codecs */ REGISTER_DECODER (AASC, aasc);