Add VA API pixfmt (only VLD is available ATM).
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Thu, 2 Apr 2009 08:08:45 +0000 (08:08 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Thu, 2 Apr 2009 08:08:45 +0000 (08:08 +0000)
Originally committed as revision 18309 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index a21f06f..bf1831f 100644 (file)
@@ -81,6 +81,7 @@ const enum PixelFormat ff_pixfmt_list_420[] = {
 };
 
 const enum PixelFormat ff_hwaccel_pixfmt_list_420[] = {
+    PIX_FMT_VAAPI_VLD,
     PIX_FMT_YUV420P,
     PIX_FMT_NONE
 };