1 Commits

Author SHA1 Message Date
jojo61
c866670227 change compiler flags for cuvid compile 2025-11-04 08:34:48 +01:00

View File

@@ -178,6 +178,8 @@ LIBS += $(shell pkg-config --libs egl gbm libdrm)
endif endif
ifeq ($(CUVID),1) ifeq ($(CUVID),1)
export CFLAGS = $(call PKGCFG,cflags) -fpermissive
export CXXFLAGS = $(call PKGCFG,cxxflags) -fpermissive
#CONFIG += -DUSE_PIP # PIP support #CONFIG += -DUSE_PIP # PIP support
CONFIG += -DCUVID # enable CUVID decoder CONFIG += -DCUVID # enable CUVID decoder
LIBS += $(shell pkg-config --libs egl gl) LIBS += $(shell pkg-config --libs egl gl)