Commit 82daa24a authored by Christophe Mutricy's avatar Christophe Mutricy

ALL: Add some set_shorname() so the preferences look nice.

parent ddb6cfd5
...@@ -58,7 +58,8 @@ static picture_t *DecodeBlock ( decoder_t *, block_t ** ); ...@@ -58,7 +58,8 @@ static picture_t *DecodeBlock ( decoder_t *, block_t ** );
vlc_module_begin(); vlc_module_begin();
set_category( CAT_INPUT ); set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_VCODEC ); set_subcategory( SUBCAT_INPUT_VCODEC );
set_description( _("fake video decoder") ); set_shortname( _("Fake") );
set_description( _("Fake video decoder") );
set_capability( "decoder", 1000 ); set_capability( "decoder", 1000 );
set_callbacks( OpenDecoder, CloseDecoder ); set_callbacks( OpenDecoder, CloseDecoder );
add_shortcut( "fake" ); add_shortcut( "fake" );
......
...@@ -63,7 +63,7 @@ static block_t *Encode ( encoder_t *, aout_buffer_t * ); ...@@ -63,7 +63,7 @@ static block_t *Encode ( encoder_t *, aout_buffer_t * );
"Integer from -1 (no model) to 4." ) "Integer from -1 (no model) to 4." )
vlc_module_begin(); vlc_module_begin();
set_shortname( "twolame"); set_shortname( "Twolame");
set_description( _("Libtwolame audio encoder") ); set_description( _("Libtwolame audio encoder") );
set_capability( "encoder", 50 ); set_capability( "encoder", 50 );
set_callbacks( OpenEncoder, CloseEncoder ); set_callbacks( OpenEncoder, CloseEncoder );
......
...@@ -45,6 +45,7 @@ vlc_module_begin(); ...@@ -45,6 +45,7 @@ vlc_module_begin();
add_bool( "playlist-autostart", 1, NULL, AUTOSTART_TEXT, AUTOSTART_LONGTEXT, add_bool( "playlist-autostart", 1, NULL, AUTOSTART_TEXT, AUTOSTART_LONGTEXT,
VLC_FALSE ); VLC_FALSE );
set_shortname( _("Playlist") );
set_description( _("Old playlist open") ); set_description( _("Old playlist open") );
add_shortcut( "old-open" ); add_shortcut( "old-open" );
set_capability( "demux2", 10 ); set_capability( "demux2", 10 );
......
...@@ -98,6 +98,7 @@ static int NetOpen( vlc_object_t * ); ...@@ -98,6 +98,7 @@ static int NetOpen( vlc_object_t * );
"This overrides the routing table.") "This overrides the routing table.")
vlc_module_begin(); vlc_module_begin();
set_shortname( "IPv4" );
set_description( _("IPv4 network abstraction layer") ); set_description( _("IPv4 network abstraction layer") );
set_capability( "network", 50 ); set_capability( "network", 50 );
set_category( CAT_INPUT ); set_category( CAT_INPUT );
......
...@@ -55,6 +55,7 @@ static int SendEvents( vlc_object_t *, char const *, ...@@ -55,6 +55,7 @@ static int SendEvents( vlc_object_t *, char const *,
#define MODE_LONGTEXT N_("The degree of blurring from 1 to 127.") #define MODE_LONGTEXT N_("The degree of blurring from 1 to 127.")
vlc_module_begin(); vlc_module_begin();
set_shortname( _("Motion blur") );
set_description( _("Motion blur filter") ); set_description( _("Motion blur filter") );
set_capability( "video filter", 0 ); set_capability( "video filter", 0 );
set_category( CAT_VIDEO ); set_category( CAT_VIDEO );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment