[vlc-devel] commit: Fix rtmp access_output building ( Rafaël Carré )

git version control git at videolan.org
Sat May 24 18:49:34 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat May 24 18:51:10 2008 +0200| [04e6970605c4c6f63d8ab507bca5126612c98625]

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)

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

 modules/access_output/rtmp.c              |    5 +++--
 modules/services_discovery/upnp_intel.cpp |    2 +-
 modules/video_filter/atmo/atmo.cpp        |    4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/modules/access_output/rtmp.c b/modules/access_output/rtmp.c
index f701c0c..6e7cfda 100644
--- a/modules/access_output/rtmp.c
+++ b/modules/access_output/rtmp.c
@@ -28,6 +28,7 @@
 #endif
 
 #include <vlc/vlc.h>
+#include <vlc_plugin.h>
 #include <vlc_sout.h>
 
 #include <vlc_network.h> /* DOWN: #include <network.h> */
@@ -50,8 +51,8 @@ static void Close( vlc_object_t * );
 #define SOUT_CFG_PREFIX "sout-rtmp-"
 
 vlc_module_begin();
-    set_description( _("RTMP stream output") );
-    set_shortname( _("RTMP" ) );
+    set_description( N_("RTMP stream output") );
+    set_shortname( N_("RTMP" ) );
     set_capability( "sout access", 50 );
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_STREAM );
diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp
index aac3d67..c602756 100644
--- a/modules/services_discovery/upnp_intel.cpp
+++ b/modules/services_discovery/upnp_intel.cpp
@@ -265,7 +265,7 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
 
 vlc_module_begin();
 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_subcategory( SUBCAT_PLAYLIST_SD );
 set_capability( "services_discovery", 0 );
diff --git a/modules/video_filter/atmo/atmo.cpp b/modules/video_filter/atmo/atmo.cpp
index a6e62f0..cadf18d 100644
--- a/modules/video_filter/atmo/atmo.cpp
+++ b/modules/video_filter/atmo/atmo.cpp
@@ -279,9 +279,9 @@ static const char *ppsz_channel_assignment_descriptions[] = {
 * Module descriptor
 *****************************************************************************/
 vlc_module_begin();
-set_description( _("AtmoLight Filter") );
+set_description( N_("AtmoLight Filter") );
 set_help( MODULE_DESCRIPTION );
-set_shortname( _( "AtmoLight" ));
+set_shortname( N_( "AtmoLight" ));
 set_capability( "video filter2", 0 );
 
 set_category( CAT_VIDEO );




More information about the vlc-devel mailing list