[vlc-commits] aout: drop 2 version number from "visualization2" capability

Rémi Denis-Courmont git at videolan.org
Thu Apr 25 21:44:55 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 25 22:02:12 2013 +0300| [f0e288aca9d4ceda870d025d395e04019f277612] | committer: Rémi Denis-Courmont

aout: drop 2 version number from "visualization2" capability

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

 modules/visualization/goom.c          |    2 +-
 modules/visualization/projectm.cpp    |    2 +-
 modules/visualization/visual/visual.c |    2 +-
 modules/visualization/vsxu.cpp        |    2 +-
 src/audio_output/filters.c            |    2 +-
 src/libvlc-module.c                   |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
index 075ab7d..11f09a6 100644
--- a/modules/visualization/goom.c
+++ b/modules/visualization/goom.c
@@ -58,7 +58,7 @@ vlc_module_begin ()
     set_description( N_("Goom effect") )
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_VISUAL )
-    set_capability( "visualization2", 0 )
+    set_capability( "visualization", 0 )
     add_integer( "goom-width", 800,
                  WIDTH_TEXT, RES_LONGTEXT, false )
     add_integer( "goom-height", 500,
diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 2e2b219..40a53eb 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -97,7 +97,7 @@ static void Close        ( vlc_object_t * );
 vlc_module_begin ()
     set_shortname( N_("projectM"))
     set_description( N_("libprojectM effect") )
-    set_capability( "visualization2", 0 )
+    set_capability( "visualization", 0 )
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_VISUAL )
 #ifndef HAVE_PROJECTM2
diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index b9d946a..85bd981 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -148,7 +148,7 @@ vlc_module_begin ()
              PEAK_WIDTH_TEXT, PEAK_WIDTH_LONGTEXT, true )
     add_integer("spect-peak-height", 1,
              PEAK_HEIGHT_TEXT, PEAK_HEIGHT_LONGTEXT, true )
-    set_capability( "visualization2", 0 )
+    set_capability( "visualization", 0 )
     set_callbacks( Open, Close )
     add_shortcut( "visualizer")
 vlc_module_end ()
diff --git a/modules/visualization/vsxu.cpp b/modules/visualization/vsxu.cpp
index 184f7d9..4ee4c80 100644
--- a/modules/visualization/vsxu.cpp
+++ b/modules/visualization/vsxu.cpp
@@ -61,7 +61,7 @@ static void Close        ( vlc_object_t * );
 vlc_module_begin ()
     set_shortname( N_("vsxu"))
     set_description( N_("vsxu") )
-    set_capability( "visualization2", 0 )
+    set_capability( "visualization", 0 )
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_VISUAL )
     add_integer( "vsxu-width", 1280, WIDTH_TEXT, WIDTH_LONGTEXT,
diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index 0f98ede..c693c99 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -354,7 +354,7 @@ static filter_t *CreateFilter (vlc_object_t *parent, const char *name,
         assert (AOUT_FMTS_IDENTICAL(&filter->fmt_out.audio, outfmt));
     }
 
-    filter->p_module = module_need (filter, "visualization2", name, true);
+    filter->p_module = module_need (filter, "visualization", name, true);
     if (filter->p_module != NULL)
         return filter;
 
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 4bd0227..39bbe19 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1516,7 +1516,7 @@ vlc_module_begin ()
     add_module_list( "audio-filter", "audio filter", NULL,
                      AUDIO_FILTER_TEXT, AUDIO_FILTER_LONGTEXT, false )
     set_subcategory( SUBCAT_AUDIO_VISUAL )
-    add_module( "audio-visual", "visualization2", "none", AUDIO_VISUAL_TEXT,
+    add_module( "audio-visual", "visualization", "none", AUDIO_VISUAL_TEXT,
                 AUDIO_VISUAL_LONGTEXT, false )
 
 /* Video options */



More information about the vlc-commits mailing list