[vlc-commits] commit: Fixed dxva2 regression when using NV12. (Laurent Aimar )

git at videolan.org git at videolan.org
Fri May 14 22:14:59 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri May 14 22:14:13 2010 +0200| [b0c7f05854bfae340ee33b9e1e815df715a5c3cb] | committer: Laurent Aimar 

Fixed dxva2 regression when using NV12.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=b0c7f05854bfae340ee33b9e1e815df715a5c3cb
---

 modules/codec/avcodec/dxva2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index eb29869..df96b3e 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -384,7 +384,7 @@ static int Extract(vlc_va_t *external, picture_t *picture, AVFrame *ff)
         };
         size_t  pitch[2] = {
             lock.Pitch,
-            lock.Pitch / 2,
+            lock.Pitch,
         };
         CopyFromNv12(picture, plane, pitch,
                      va->surface_width, va->surface_height,



More information about the vlc-commits mailing list