diff options
author | Joakim Plate <elupus@ecce.se> | 2011-07-05 00:18:32 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-09-30 11:17:53 +0200 |
commit | dcce09d64bd13ab13b86307f5a268e5c1e50c7e2 (patch) | |
tree | 7c33e76e45b2e45b958775de66d3bdb04fec3395 /libavcodec/dxva2.h | |
parent | d4a544cbc46fd3550e4d21a9871eeb315e036156 (diff) | |
download | ffmpeg-dcce09d64bd13ab13b86307f5a268e5c1e50c7e2.tar.gz |
dxva: Add ability to enable workaround for older ATI cards
The workaround needs to be enabled per PCI ID which cannot be detected inside
libavcodec. So add a flag to manually enable the alternate behavior.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r-- | libavcodec/dxva2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h index 5db5d0bc9f..53a00fff17 100644 --- a/libavcodec/dxva2.h +++ b/libavcodec/dxva2.h @@ -27,6 +27,8 @@ #include <dxva2api.h> +#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards + /** * This structure is used to provides the necessary configurations and data * to the DXVA2 Libav HWAccel implementation. |