dxva2_h264: add a workaround for old Intel GPUs
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 22 Apr 2014 13:22:51 +0000 (15:22 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 28 Apr 2014 18:21:59 +0000 (20:21 +0200)
commited4b757177f9b563412cdbc8ee3405d82e10fc05
treeb6a6cec91ba2837a7f1faa90565087305e510f51
parent2fcef90bee98bffeff1d95b7197738f50c450d86
dxva2_h264: add a workaround for old Intel GPUs

Old Intel GPUs expect the reference frame index to the actual surface,
instead of the index into RefFrameList as specified by the spec.

This workaround should be set when using one of the "ClearVideo" decoder
devices.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
doc/APIchanges
libavcodec/dxva2.h
libavcodec/dxva2_h264.c
libavcodec/version.h