From d1451cd34ffc43ded9a9bbe41b7594650557ab86 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 21 Mar 2015 20:31:54 +0100 Subject: [PATCH] dxva2-Video_Decoder: Use a bigger estimation for the maximum slice size (required for some HD videos). --- .../dxva2-Video_Decoder/0008-dxva2-Implement-h264-decoder.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/dxva2-Video_Decoder/0008-dxva2-Implement-h264-decoder.patch b/patches/dxva2-Video_Decoder/0008-dxva2-Implement-h264-decoder.patch index a3a39c40..d38ea34f 100644 --- a/patches/dxva2-Video_Decoder/0008-dxva2-Implement-h264-decoder.patch +++ b/patches/dxva2-Video_Decoder/0008-dxva2-Implement-h264-decoder.patch @@ -88,7 +88,7 @@ index 0000000..1a5817e + +static inline UINT estimate_maximum_slice_size( UINT width, UINT height ) +{ -+ return (2 * width * height * min(width, height)) / max(width, height); ++ return (3 * width * height * min(width, height)) / max(width, height); +} + +typedef struct