[vlc-commits] interop_cvpx: move to obj-c code

Alexandre Janniaux git at videolan.org
Thu Nov 12 12:17:35 CET 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Nov  6 12:17:50 2020 +0100| [e60c2a308e4ee4eebfc34a0491c5b2699ce51420] | committer: Alexandre Janniaux

interop_cvpx: move to obj-c code

EAGLContext is an objective-C only API so move the compiler from C to
ObjC to use it correctly.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e60c2a308e4ee4eebfc34a0491c5b2699ce51420
---

 modules/video_output/Makefile.am                               | 2 +-
 modules/video_output/opengl/{interop_cvpx.c => interop_cvpx.m} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

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



More information about the vlc-commits mailing list