[vlc-devel] [PATCH 1/4] interop_cvpx: move to obj-c code
Alexandre Janniaux
ajanni at videolabs.io
Fri Nov 6 13:26:38 CET 2020
EAGLContext is an objective-C only API so move the compiler from C to
ObjC to use it correctly.
---
modules/video_output/Makefile.am | 2 +-
modules/video_output/opengl/{interop_cvpx.c => interop_cvpx.m} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename modules/video_output/opengl/{interop_cvpx.c => interop_cvpx.m} (100%)
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index c42fdc474a..06d2e9bb74 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -20,7 +20,7 @@ libdecklinkoutput_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL) -lpthread
vout_LTLIBRARIES += libdecklinkoutput_plugin.la
endif
-libglinterop_cvpx_plugin_la_SOURCES = video_output/opengl/interop_cvpx.c \
+libglinterop_cvpx_plugin_la_SOURCES = video_output/opengl/interop_cvpx.m \
video_output/opengl/interop.h
libglinterop_cvpx_plugin_la_SOURCES += codec/vt_utils.c codec/vt_utils.h
libglinterop_cvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
diff --git a/modules/video_output/opengl/interop_cvpx.c b/modules/video_output/opengl/interop_cvpx.m
similarity index 100%
rename from modules/video_output/opengl/interop_cvpx.c
rename to modules/video_output/opengl/interop_cvpx.m
--
2.29.2
More information about the vlc-devel
mailing list