History

configure: don't warn deprecated symbols from libvpl

libvpl deprecated some symbols (e.g. MFX_EXTBUFF_VPP_DENOISE2 is used to replace MFX_EXTBUFF_VPP_DENOISE), however the new symbols aren't support by MediaSDK runtime. In order to support the combination of libvpl and MediaSDK runtime on legacy devices, we continue to use the deprecated symbols in FFmpeg. This patch added -DMFX_DEPRECATED_OFF to CFLAGS to silence the corresponding compilation warnings.

Haihao Xiang committed 2 years ago

Commit 5717fbb1 parent d36d9991 file · +1 −0Browse files

Unified · Split

configure+1−0
@@ -6776,6 +6776,7 @@ elif enabled libvpl; then · 6775 unmodified lines
67766776 # is extracted from "vpl >= 2.6"
67776777 check_pkg_config libmfx "vpl >= 2.6" "mfxvideo.h mfxdispatcher.h" MFXLoad || \
67786778 die "ERROR: libvpl >= 2.6 not found"
6779+ add_cflags -DMFX_DEPRECATED_OFF
67796780 fi
67806781
67816782 if enabled libmfx; then

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