[vlc-commits] Add 2 shortnames for modules that have options...

Jean-Baptiste Kempf git at videolan.org
Sun May 15 00:47:33 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 15 00:46:53 2011 +0200| [da61086b812f697c8935f3fb3fcc9f4a9d305afa] | committer: Jean-Baptiste Kempf

Add 2 shortnames for modules that have options...

Makes it better for preferences.

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

 modules/demux/image.c   |    1 +
 modules/demux/mpeg/es.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/image.c b/modules/demux/image.c
index 1b74c24..4d899ad 100644
--- a/modules/demux/image.c
+++ b/modules/demux/image.c
@@ -73,6 +73,7 @@ static void Close(vlc_object_t *);
 
 vlc_module_begin()
     set_description(N_("Image demuxer"))
+    set_shortname(N_("Image"))
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_DEMUX)
     add_integer("image-id", -1, ID_TEXT, ID_LONGTEXT, true)
diff --git a/modules/demux/mpeg/es.c b/modules/demux/mpeg/es.c
index 627fc7c..a66f9f6 100644
--- a/modules/demux/mpeg/es.c
+++ b/modules/demux/mpeg/es.c
@@ -54,6 +54,7 @@ vlc_module_begin ()
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_DEMUX )
     set_description( N_("MPEG-I/II/4 / A52 / DTS / MLP audio" ) )
+    set_shortname( N_("Audio ES") )
     set_capability( "demux", 155 )
     set_callbacks( OpenAudio, Close )
 



More information about the vlc-commits mailing list