[vlc-commits] move codec/mpeg_audio to packetizer/mpegaudio

Thomas Guillem git at videolan.org
Mon Oct 10 18:41:28 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct 10 18:28:44 2016 +0200| [73639ea0553cbbb7366a8eb3f521bb4c4d772f3c] | committer: Thomas Guillem

move codec/mpeg_audio to packetizer/mpegaudio

("_" is removed to be more consistent with packetizer/mpegvideo)

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

 extras/package/ios/build.sh                            | 2 +-
 extras/package/rpm/vlc.altlinux.spec                   | 3 +--
 modules/MODULES_LIST                                   | 2 +-
 modules/codec/Makefile.am                              | 4 ----
 modules/packetizer/Makefile.am                         | 2 ++
 modules/{codec/mpeg_audio.c => packetizer/mpegaudio.c} | 4 ++--
 po/POTFILES.in                                         | 2 +-
 7 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 1528861..85d8ef5 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -510,7 +510,7 @@ libmod
 libdash
 libmpgv
 dolby_surround
-mpeg_audio"
+mpegaudio"
 fi
 
 echo ${blacklist}
diff --git a/extras/package/rpm/vlc.altlinux.spec b/extras/package/rpm/vlc.altlinux.spec
index f51fb33..b0c5c78 100644
--- a/extras/package/rpm/vlc.altlinux.spec
+++ b/extras/package/rpm/vlc.altlinux.spec
@@ -1039,7 +1039,6 @@ strfile %buildroot%_gamesdatadir/fortune/vlc %buildroot%_gamesdatadir/fortune/vl
 %_vlc_pluginsdir/codec/libcinepak_plugin.so*
 %_vlc_pluginsdir/codec/libdts_plugin.so*
 %_vlc_pluginsdir/codec/liblpcm_plugin.so*
-%_vlc_pluginsdir/codec/libmpeg_audio_plugin.so*
 %_vlc_pluginsdir/codec/libspudec_plugin.so*
 %_vlc_pluginsdir/codec/libfake_plugin.so*
 %_vlc_pluginsdir/codec/libsubsdec_plugin.so*
@@ -1138,7 +1137,7 @@ strfile %buildroot%_gamesdatadir/fortune/vlc %buildroot%_gamesdatadir/fortune/vl
 %_vlc_pluginsdir/packetizer/libpacketizer_copy_plugin.so*
 %_vlc_pluginsdir/packetizer/libpacketizer_mpeg4audio_plugin.so*
 %_vlc_pluginsdir/packetizer/libpacketizer_mpeg4video_plugin.so*
-#%_vlc_pluginsdir/packetizer/libpacketizer_mpegaudio_plugin.so*
+%_vlc_pluginsdir/packetizer/libpacketizer_mpegaudio_plugin.so*
 %_vlc_pluginsdir/packetizer/libpacketizer_mpegvideo_plugin.so*
 %_vlc_pluginsdir/packetizer/libpacketizer_vc1_plugin.so*
 
diff --git a/modules/MODULES_LIST b/modules/MODULES_LIST
index cf87b64..8fc8f97 100644
--- a/modules/MODULES_LIST
+++ b/modules/MODULES_LIST
@@ -244,7 +244,6 @@ $Id$
  * motiondetect: Motion detection filter
  * mp4: MP4 file input module
  * mpc: Musepack decoder
- * mpeg_audio: MPEG audio parser/packetizer
  * mpg123: MPEG-1 & 2 audio layer I, II, III + MPEG 2.5 decoder using mpg123
  * mpgv: MPEG-I/II Video demuxer
  * mtp: MTP interface module
@@ -291,6 +290,7 @@ $Id$
  * packetizer_mlp: MLP/TrueHD audio packetizer
  * packetizer_mpeg4audio: MPEG4 audio packetizer
  * packetizer_mpeg4video: MPEG4 video packetizer
+ * packetizer_mpegaudio: MPEG audio packetizer
  * packetizer_mpegvideo: MPEG video packetizer
  * packetizer_vc1: VC-1 video packetizer
  * panoramix: image wall panoramic video with edge blending filter
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 13bb000..3add254 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -63,10 +63,6 @@ endif
 liblpcm_plugin_la_SOURCES = codec/lpcm.c
 codec_LTLIBRARIES += liblpcm_plugin.la
 
-libmpeg_audio_plugin_la_SOURCES = codec/mpeg_audio.c
-libmpeg_audio_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
-codec_LTLIBRARIES += libmpeg_audio_plugin.la
-
 libmad_plugin_la_SOURCES = codec/mad.c
 libmad_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(MAD_CFLAGS)
 libmad_plugin_la_LIBADD = $(AM_LIBADD) $(MAD_LIBS)
diff --git a/modules/packetizer/Makefile.am b/modules/packetizer/Makefile.am
index 3801b36..b873194 100644
--- a/modules/packetizer/Makefile.am
+++ b/modules/packetizer/Makefile.am
@@ -4,6 +4,7 @@ libpacketizer_copy_plugin_la_SOURCES = packetizer/copy.c
 libpacketizer_mpegvideo_plugin_la_SOURCES = packetizer/mpegvideo.c
 libpacketizer_mpeg4video_plugin_la_SOURCES = packetizer/mpeg4video.c
 libpacketizer_mpeg4audio_plugin_la_SOURCES = packetizer/mpeg4audio.c
+libpacketizer_mpegaudio_plugin_la_SOURCES = packetizer/mpegaudio.c
 libpacketizer_h264_plugin_la_SOURCES = \
 	packetizer/h264_nal.c packetizer/h264_nal.h \
 	packetizer/h264.c packetizer/hxxx_nal.h \
@@ -37,6 +38,7 @@ packetizer_LTLIBRARIES = \
 	libpacketizer_mpegvideo_plugin.la \
 	libpacketizer_mpeg4video_plugin.la \
 	libpacketizer_mpeg4audio_plugin.la \
+	libpacketizer_mpegaudio_plugin.la \
 	libpacketizer_h264_plugin.la \
 	libpacketizer_vc1_plugin.la \
 	libpacketizer_mlp_plugin.la \
diff --git a/modules/codec/mpeg_audio.c b/modules/packetizer/mpegaudio.c
similarity index 99%
rename from modules/codec/mpeg_audio.c
rename to modules/packetizer/mpegaudio.c
index 7dd3d88..761098d 100644
--- a/modules/codec/mpeg_audio.c
+++ b/modules/packetizer/mpegaudio.c
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * mpeg_audio.c: parse MPEG audio sync info and packetize the stream
+ * mpegaudio.c: parse MPEG audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2001-2016 VLC authors and VideoLAN
  * $Id$
@@ -40,7 +40,7 @@
 
 #include <vlc_block_helper.h>
 
-#include "../packetizer/packetizer_helper.h"
+#include "packetizer_helper.h"
 
 /*****************************************************************************
  * decoder_sys_t : decoder descriptor
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 84abe20..e7bd933 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -373,7 +373,6 @@ modules/codec/libmpeg2.c
 modules/codec/lpcm.c
 modules/codec/mad.c
 modules/codec/mft.c
-modules/codec/mpeg_audio.c
 modules/codec/mpg123.c
 modules/codec/omxil/mediacodec.c
 modules/codec/omxil/mediacodec_jni.c
@@ -1015,6 +1014,7 @@ modules/packetizer/hevc.c
 modules/packetizer/mlp.c
 modules/packetizer/mpeg4audio.c
 modules/packetizer/mpeg4video.c
+modules/packetizer/mpegaudio.c
 modules/packetizer/mpegvideo.c
 modules/packetizer/vc1.c
 modules/services_discovery/avahi.c



More information about the vlc-commits mailing list