dxva2_h264: fix signaling of mbaff frames
authorHendrik Leppkes <h.leppkes@gmail.com>
Mon, 27 Feb 2012 16:21:16 +0000 (17:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 24 Jun 2012 01:22:31 +0000 (03:22 +0200)
commitb5e6aa6c3337dc740d67aa68116530fe604bae76
treecf5e56d88ed4d447aca6a12dbd860ea5f541ec79
parent1c600888857544986d6576bc164e0dc8f0f4b6c7
dxva2_h264: fix signaling of mbaff frames

The MBAFF flag may only be signaled if we're actually dealing with
a full frame, and not singular fields, as it can happen in mixed content.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dxva2_h264.c