[FFmpeg-cvslog] register AV_PIX_FMT_VDPAU for hwaccel

Rainer Hochecker git at videolan.org
Sun May 5 16:49:21 CEST 2013


ffmpeg | branch: master | Rainer Hochecker <fernetmenta at online.de> | Sun May  5 16:15:41 2013 +0200| [fe1f36547d0be963e352de0cde1a6cba59ea2e78] | committer: Rainer Hochecker

register AV_PIX_FMT_VDPAU for hwaccel

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe1f36547d0be963e352de0cde1a6cba59ea2e78
---

 libavcodec/mpeg12dec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index e969893..7d8286e 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -1098,6 +1098,7 @@ static const enum AVPixelFormat mpeg1_hwaccel_pixfmt_list_420[] = {
 #endif
 #if CONFIG_MPEG1_VDPAU_HWACCEL
     AV_PIX_FMT_VDPAU_MPEG1,
+    AV_PIX_FMT_VDPAU,
 #endif
     AV_PIX_FMT_YUV420P,
     AV_PIX_FMT_NONE
@@ -1110,6 +1111,7 @@ static const enum AVPixelFormat mpeg2_hwaccel_pixfmt_list_420[] = {
 #endif
 #if CONFIG_MPEG2_VDPAU_HWACCEL
     AV_PIX_FMT_VDPAU_MPEG2,
+    AV_PIX_FMT_VDPAU,
 #endif
 #if CONFIG_MPEG2_DXVA2_HWACCEL
     AV_PIX_FMT_DXVA2_VLD,



More information about the ffmpeg-cvslog mailing list