Skip to content
Snippets Groups Projects
Commit 3e02a857 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

codec: Makefile.am: rename Videotoolbox plugin

Because of how the MODULE_NAME macro is injected into automake from
AM_CPPFLAGS and how automake will compile files that have no specific
compilation flags from a given target (ie. no _CPPFLAGS override or
_CFLAGS/_CXXFLAGS/_OBJCFLAGS override), the videotoolbox module was
named "decoder" (as the first compiled file) which is highly confusing
to read in the log.

Forcing the default CPPFLAGS will ensure we correctly get videotoolbox
as the MODULE_NAME.
parent beebc0de
No related branches found
No related tags found
1 merge request!4979codec: Makefile.am: rename Videotoolbox plugin
Pipeline #440978 passed with stages
in 32 minutes and 32 seconds
......@@ -356,6 +356,7 @@ libvideotoolbox_plugin_la_SOURCES = codec/videotoolbox/decoder.c \
codec/videotoolbox/dpb.h \
codec/videotoolbox/pacer.c \
codec/videotoolbox/pacer.h
libvideotoolbox_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) # Trigger MODULE_NAME declaration
libvideotoolbox_plugin_la_LIBADD = libchroma_copy.la libvlc_hxxxhelper.la libvlc_vtutils.la
libvideotoolbox_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,-framework,CoreFoundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo -Wl,-framework,Metal
if HAVE_DARWIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment