History

qsvenc: restrict MFX_RATECONTROL_LA_EXT to MFX_VERSION < 2.0

MFX_RATECONTROL_LA_EXT isn't supported for MFX_VERSION >= 2.0[1][2]. This is in preparation for oneVPL support [1] https://spec.oneapi.io/versions/latest/elements/oneVPL/source/VPL_intel_media_sdk.html#msdk-full-name-feature-removals [2] https://github.com/oneapi-src/oneVPL

Haihao Xiang committed 6 years ago

Commit 63cda401 parent fdfab651 file · +2 −0Browse files

Unified · Split

libavcodec/qsvenc.c+2−0
@@ -141,7 +141,9 @@ static const struct { · 140 unmodified lines
141141 #if QSV_HAVE_VCM
142142 { MFX_RATECONTROL_VCM, "VCM" },
143143 #endif
144+#if !QSV_ONEVPL
144145 { MFX_RATECONTROL_LA_EXT, "LA_EXT" },
146+#endif
145147 { MFX_RATECONTROL_LA_HRD, "LA_HRD" },
146148 { MFX_RATECONTROL_QVBR, "QVBR" },
147149 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t