summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2.h
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2011-07-05 00:18:32 +0200
committerJoakim Plate <elupus@ecce.se>2011-07-09 17:21:31 +0200
commit6dabe0f74a967fd6f4af7cab3da65b08f06cb088 (patch)
tree20612a37561aeb4fe8d2171112c336accef5b628 /libavcodec/dxva2.h
parent43e96d0466094e3780260fa896046b1ecbb8ff06 (diff)
Added ability to enable workaround for dxva2 decoding using older ATI cards
The workaround need to be enabled per pci id which can not be detected inside ffmpeg. So this adds a flag that enabled the alternate behavior.
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r--libavcodec/dxva2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h
index 5c5fe21e2f..6eb494b9fe 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 FFmpeg HWAccel implementation.