[vlc-devel] [PATCH 1/3] video-chroma: cvpx: rename to cvpx_i420

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Thu Jul 13 13:21:25 CEST 2017


---
 configure.ac                                 | 2 +-
 modules/video_chroma/Makefile.am             | 8 ++++----
 modules/video_chroma/{cvpx.c => cvpx_i420.c} | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename modules/video_chroma/{cvpx.c => cvpx_i420.c} (99%)

diff --git a/configure.ac b/configure.ac
index 8ef7bbcd96..10fba59b04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3909,7 +3909,7 @@ dnl
 dnl  VideoToolbox plugins
 AC_CHECK_HEADERS(VideoToolbox/VideoToolbox.h, [
     VLC_ADD_PLUGIN([videotoolbox])
-    VLC_ADD_PLUGIN([cvpx])
+    VLC_ADD_PLUGIN([cvpx_i420])
   ])
 
 dnl
diff --git a/modules/video_chroma/Makefile.am b/modules/video_chroma/Makefile.am
index 14195e8f04..c437423a68 100644
--- a/modules/video_chroma/Makefile.am
+++ b/modules/video_chroma/Makefile.am
@@ -132,8 +132,8 @@ chroma_LTLIBRARIES += \
 	libd3d11_surface_plugin.la
 endif
 
-libcvpx_plugin_la_SOURCES = video_chroma/cvpx.c \
+libcvpx_i420_plugin_la_SOURCES = video_chroma/cvpx_i420.c \
 	codec/vt_utils.c codec/vt_utils.h
-libcvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
-EXTRA_LTLIBRARIES += libcvpx_plugin.la
-chroma_LTLIBRARIES += $(LTLIBcvpx)
+libcvpx_i420_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
+EXTRA_LTLIBRARIES += libcvpx_i420_plugin.la
+chroma_LTLIBRARIES += $(LTLIBcvpx_i420)
diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx_i420.c
similarity index 99%
rename from modules/video_chroma/cvpx.c
rename to modules/video_chroma/cvpx_i420.c
index 4da92ae7de..63b9695369 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx_i420.c
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * cvpx.c: core video buffer to picture converter
+ * cvpx_i420.c: core video buffer to picture converter
  *****************************************************************************
  * Copyright (C) 2015-2017 VLC authors, VideoLAN and VideoLabs
  *
-- 
2.13.1



More information about the vlc-devel mailing list