Commit 04e69706 authored by Rafaël Carré's avatar Rafaël Carré

Fix rtmp access_output building

Mark description & shortnames as translatable with N_
(Thanks for testing the build before committing, I think the source code
had the same review)
parent 86af35f2
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#endif #endif
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_plugin.h>
#include <vlc_sout.h> #include <vlc_sout.h>
#include <vlc_network.h> /* DOWN: #include <network.h> */ #include <vlc_network.h> /* DOWN: #include <network.h> */
...@@ -50,8 +51,8 @@ static void Close( vlc_object_t * ); ...@@ -50,8 +51,8 @@ static void Close( vlc_object_t * );
#define SOUT_CFG_PREFIX "sout-rtmp-" #define SOUT_CFG_PREFIX "sout-rtmp-"
vlc_module_begin(); vlc_module_begin();
set_description( _("RTMP stream output") ); set_description( N_("RTMP stream output") );
set_shortname( _("RTMP" ) ); set_shortname( N_("RTMP" ) );
set_capability( "sout access", 50 ); set_capability( "sout access", 50 );
set_category( CAT_SOUT ); set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_STREAM ); set_subcategory( SUBCAT_SOUT_STREAM );
......
...@@ -265,7 +265,7 @@ static playlist_t *pl_Get( services_discovery_t *p_sd ) ...@@ -265,7 +265,7 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
vlc_module_begin(); vlc_module_begin();
set_shortname( "UPnP" ); set_shortname( "UPnP" );
set_description( _( "Universal Plug'n'Play discovery ( Intel SDK )" ) ); set_description( N_( "Universal Plug'n'Play discovery ( Intel SDK )" ) );
set_category( CAT_PLAYLIST ); set_category( CAT_PLAYLIST );
set_subcategory( SUBCAT_PLAYLIST_SD ); set_subcategory( SUBCAT_PLAYLIST_SD );
set_capability( "services_discovery", 0 ); set_capability( "services_discovery", 0 );
......
...@@ -279,9 +279,9 @@ static const char *ppsz_channel_assignment_descriptions[] = { ...@@ -279,9 +279,9 @@ static const char *ppsz_channel_assignment_descriptions[] = {
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("AtmoLight Filter") ); set_description( N_("AtmoLight Filter") );
set_help( MODULE_DESCRIPTION ); set_help( MODULE_DESCRIPTION );
set_shortname( _( "AtmoLight" )); set_shortname( N_( "AtmoLight" ));
set_capability( "video filter2", 0 ); set_capability( "video filter2", 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