mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
6bf5ba993d
Note that, since Nvidia does not provide nvEncodeAPI.lib file, find_library() couldn't be used for build on Windows. This patch changes to load nvEncodeAPI(64).dll or libnvidia-encode.so in runtime
33 lines
638 B
Makefile
33 lines
638 B
Makefile
plugin_LTLIBRARIES = libgstnvenc.la
|
|
|
|
libgstnvenc_la_SOURCES = \
|
|
gstnvenc.c \
|
|
gstnvbaseenc.c \
|
|
gstnvh264enc.c \
|
|
gstnvh265enc.c
|
|
|
|
noinst_HEADERS = \
|
|
gstnvenc.h \
|
|
gstnvbaseenc.h \
|
|
gstnvh264enc.h \
|
|
gstnvh265enc.h
|
|
|
|
libgstnvenc_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
$(GST_VIDEO_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(CUDA_CFLAGS)
|
|
|
|
libgstnvenc_la_LIBADD = \
|
|
$(GST_PBUTILS_LIBS) \
|
|
$(GST_VIDEO_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(CUDA_LIBS) \
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
|
|
|
if USE_NVENC_GST_GL
|
|
libgstnvenc_la_CFLAGS += $(GST_GL_CFLAGS)
|
|
libgstnvenc_la_LIBADD += $(GST_GL_LIBS)
|
|
endif
|
|
libgstnvenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|