mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 15:23:11 +00:00
qsvenc: Fix b_strategy typo
This was introduced in 0e6c853221
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
925f145ace
commit
02bd02da5f
@ -520,7 +520,7 @@ FF_DISABLE_DEPRECATION_WARNINGS
|
|||||||
q->b_strategy = avctx->b_frame_strategy;
|
q->b_strategy = avctx->b_frame_strategy;
|
||||||
FF_ENABLE_DEPRECATION_WARNINGS
|
FF_ENABLE_DEPRECATION_WARNINGS
|
||||||
#endif
|
#endif
|
||||||
if (q->extco2.b_strategy >= 0)
|
if (q->b_strategy >= 0)
|
||||||
q->extco2.BRefType = q->b_strategy ? MFX_B_REF_PYRAMID : MFX_B_REF_OFF;
|
q->extco2.BRefType = q->b_strategy ? MFX_B_REF_PYRAMID : MFX_B_REF_OFF;
|
||||||
if (q->adaptive_i >= 0)
|
if (q->adaptive_i >= 0)
|
||||||
q->extco2.AdaptiveI = q->adaptive_i ? MFX_CODINGOPTION_ON : MFX_CODINGOPTION_OFF;
|
q->extco2.AdaptiveI = q->adaptive_i ? MFX_CODINGOPTION_ON : MFX_CODINGOPTION_OFF;
|
||||||
|
Loading…
Reference in New Issue
Block a user