[FFmpeg-devel,1/4] qsv: fix the max payload size

Submitted by Steve Lhomme on Sept. 21, 2017, 1:52 p.m.

Details

Message ID 20170921135250.716-1-robux4@gmail.com
State New
Headers show

Commit Message

Steve Lhomme Sept. 21, 2017, 1:52 p.m.
We only have one possible Payload for now: A53 CC
---
 libavcodec/qsv_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index c0305508dd..5419db05be 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -32,7 +32,7 @@ 
 
 #define ASYNC_DEPTH_DEFAULT 4       // internal parallelism
 
-#define QSV_MAX_ENC_PAYLOAD 2       // # of mfxEncodeCtrl payloads supported
+#define QSV_MAX_ENC_PAYLOAD 1       // # of mfxEncodeCtrl payloads supported
 
 #define QSV_VERSION_ATLEAST(MAJOR, MINOR)   \
     (MFX_VERSION_MAJOR > (MAJOR) ||         \