]> git.sesse.net Git - vlc/commitdiff
Fixed dxva2 patch for latest ffmpeg.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 8 Dec 2009 20:58:08 +0000 (21:58 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 8 Dec 2009 20:59:56 +0000 (21:59 +0100)
extras/contrib/src/Patches/ffmpeg-dxva2.patch

index c9b68961689f74cdb7dafb691a3f0c60d236a5b8..2e27d1ef7083ff5f511e31d9ac7f1e588ae29003 100644 (file)
@@ -660,22 +660,6 @@ Index: libavcodec/allcodecs.c
  
      /* video codecs */
      REGISTER_DECODER (AASC, aasc);
-Index: libavcodec/imgconvert.c
-===================================================================
---- libavcodec/imgconvert.c    (revision 20532)
-+++ libavcodec/imgconvert.c    (working copy)
-@@ -527,6 +527,11 @@
-         .is_hwaccel = 1,
-         .x_chroma_shift = 1, .y_chroma_shift = 1,
-     },
-+    [PIX_FMT_DXVA2_VLD] = {
-+        .name = "dxva2_vld",
-+        .is_hwaccel = 1,
-+        .x_chroma_shift = 1, .y_chroma_shift = 1,
-+    },
- };
- void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift)
 Index: libavcodec/dxva2.h
 ===================================================================
 --- libavcodec/dxva2.h (revision 0)