[PATCH 2/2] dxva2_vc1: pass the overlap flag to the decoder
Hi, attached patch fixes an oversight in the DXVA2 VC-1 decoder. According to the spec, the overlap flag needs to be specified in the 6th bit of the bPicDeblocked element, if the frame is not a B-Frame (on B-Frames, it shall be zero) This fixes corruption when playing streams with the flag enabled. - Hendrik
On Sat, Jan 21, 2012 at 08:04:51PM +0100, Hendrik Leppkes wrote:
Hi,
attached patch fixes an oversight in the DXVA2 VC-1 decoder. According to the spec, the overlap flag needs to be specified in the 6th bit of the bPicDeblocked element, if the frame is not a B-Frame (on B-Frames, it shall be zero)
This fixes corruption when playing streams with the flag enabled.
- Hendrik
dxva2_vc1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 56bb152cadeaa1bb01c4f73a7b409b735351859b 0002-dxva2_vc1-pass-the-overlap-flag-to-the-decoder.patch From 91248ea1fdf13fd64a30343de6d5897b1b3c02e5 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes <h.leppkes@gmail.com> Date: Fri, 20 Jan 2012 15:19:44 +0100 Subject: [PATCH 2/2] dxva2_vc1: pass the overlap flag to the decoder
applied Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I know you won't believe me, but the highest form of Human Excellence is to question oneself and others. -- Socrates
participants (2)
-
Hendrik Leppkes -
Michael Niedermayer