mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
7bf576b238
x264 has to be compiled specifically for a target bit depth. Distributions currently ship various libraries in their packages, with different bit depths. This change now allows to provide them all at configure time and have the x264enc element dynamically switch between them based on the bit depth of the input format. https://bugzilla.gnome.org/show_bug.cgi?id=763297
23 lines
592 B
Makefile
23 lines
592 B
Makefile
plugin_LTLIBRARIES = libgstx264.la
|
|
|
|
libgstx264_la_SOURCES = gstx264enc.c
|
|
libgstx264_la_CFLAGS = \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(X264_CFLAGS)
|
|
libgstx264_la_LIBADD = \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
|
$(GST_LIBS) \
|
|
$(X264_LIBS) \
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
|
libgstx264_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstx264_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
noinst_HEADERS = gstx264enc.h
|
|
|
|
presetdir = $(datadir)/gstreamer-$(GST_API_VERSION)/presets
|
|
preset_DATA = GstX264Enc.prs
|
|
|
|
EXTRA_DIST = $(preset_DATA)
|