Commit f9475d6b authored by Laurent Aimar's avatar Laurent Aimar

Fixed dxva2 patch for latest ffmpeg.

parent d968cdc2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment