]> git.sesse.net Git - vlc/commitdiff
stream_out/*: String review (refs #438)
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 19 Mar 2006 01:27:21 +0000 (01:27 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 19 Mar 2006 01:27:21 +0000 (01:27 +0000)
modules/stream_out/bridge.c
modules/stream_out/rtp.c
modules/stream_out/standard.c
modules/stream_out/switcher.c
modules/stream_out/transcode.c

index 8d207a306cf765d1a42c76cb65acfc8d2d64baf1..82ab34317c7070a243fd8bf649d6db596301de5c 100644 (file)
  *****************************************************************************/
 #define ID_TEXT N_("ID")
 #define ID_LONGTEXT N_( \
-    "Specify an identifier integer for this elementary stream" )
+    "Specify an identifier for this elementary stream." )
 
 #define DELAY_TEXT N_("Delay")
 #define DELAY_LONGTEXT N_("Pictures coming from the picture video outputs " \
         "will be delayed accordingly (in milliseconds, >= 100 ms). For high " \
-        "values you will need to raise file-caching and others.")
+        "values, you will need to raise file-caching and others.")
 
 #define ID_OFFSET_TEXT N_("ID Offset")
 #define ID_OFFSET_LONGTEXT N_("Offset to add to the stream IDs specified in " \
index cc3bdf32b2003151b2312d3a760e3030479a67e2..289112cd96f8ac5302c07cd153ae99c0ee0341f2 100644 (file)
@@ -700,7 +700,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
     {
         if( p_sys->p_httpd_file )
         {
-            msg_Err( p_stream, "You can use sdp=http:// only once" );
+            msg_Err( p_stream, "you can use sdp=http:// only once" );
             return;
         }
 
@@ -713,7 +713,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
     {
         if( p_sys->p_rtsp_url )
         {
-            msg_Err( p_stream, "You can use sdp=rtsp:// only once" );
+            msg_Err( p_stream, "you can use sdp=rtsp:// only once" );
             return;
         }
 
@@ -733,7 +733,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
     {
         if( p_sys->b_export_sdp_file )
         {
-            msg_Err( p_stream, "You can use sdp=file:// only once" );
+            msg_Err( p_stream, "you can use sdp=file:// only once" );
             return;
         }
         p_sys->b_export_sdp_file = VLC_TRUE;
index 879ed6b8628b23c7bdf0e76776187d4351251063..62e83b7a203ea4c4f29b9e7368f24a7eb79d090e 100644 (file)
 #define MUX_LONGTEXT N_( \
     "Allows you to specify the output muxer method used for the streaming " \
     "output." )
-#define URL_TEXT N_("Output URL (deprecated)")
-#define URL_LONGTEXT N_( \
-    "Allows you to specify the output URL used for the streaming output." \
-    "Deprecated, use dst instead." )
-
 #define DST_TEXT N_("Output destination")
 #define DST_LONGTEXT N_( \
     "Allows you to specify the output destination used for the streaming output." )
 
 #define NAME_TEXT N_("Session name")
 #define NAME_LONGTEXT N_( \
-    "Name of the session that will be announced with SAP" )
+    "Name of the session that will be announced with SAP." )
 
 #define GROUP_TEXT N_("Session groupname")
 #define GROUP_LONGTEXT N_( \
-    "Name of the group that will be announced for the session" )
+    "Name of the group that will be announced for the session." )
 
 #define SAP_TEXT N_("SAP announcing")
-#define SAP_LONGTEXT N_("Announce this session with SAP")
+#define SAP_LONGTEXT N_("Announce this session with SAP.")
 
 static int      Open    ( vlc_object_t * );
 static void     Close   ( vlc_object_t * );
index ed00598a5810c7aad95dbc108bc8999cbfdcc899..774f791ad890b1c6a32926c06d0e482708975553 100644 (file)
@@ -399,7 +399,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
         }
         if ( i == MAX_AUDIO )
         {
-            msg_Err( p_stream, "too many audio streams !" );
+            msg_Err( p_stream, "too many audio streams!" );
             free( id );
             return NULL;
         }
index 4880d395a8f34bee67cc0f09aaa6e4858527bd7c..6acd33a7680bce6af5f426e34cbc876183fa9556 100644 (file)
 
 #define CANVAS_WIDTH_TEXT N_("Video canvas width")
 #define CANVAS_WIDTH_LONGTEXT N_( \
-    "Allows to padd or crop the frame to a specified width" )
+    "Allows to padd or crop the frame to a specified width." )
 #define CANVAS_HEIGHT_TEXT N_("Video canvas height")
 #define CANVAS_HEIGHT_LONGTEXT N_( \
-    "Allows to padd or crop the frame to a specified height" )
+    "Allows to padd or crop the frame to a specified height." )
 #define CANVAS_ASPECT_TEXT N_("Video canvas aspect ratio")
 #define CANVAS_ASPECT_LONGTEXT N_( \
-    "Set aspect (like 4:3) of video canvas and letterbox accordingly" )
+    "Set aspect (like 4:3) of video canvas and letterbox accordingly." )
 
 #define AENC_TEXT N_("Audio encoder")
 #define AENC_LONGTEXT N_( \
 #define OSD_TEXT N_("OSD menu")
 #define OSD_LONGTEXT N_(\
     "Enable streaming of the On Screen Display. It uses the osdmenu subfilter." )
-                  
+
 #define THREADS_TEXT N_("Number of threads")
 #define THREADS_LONGTEXT N_( \
     "Allows you to specify the number of threads used for the transcoding." )
@@ -512,7 +512,7 @@ static int Open( vlc_object_t *p_this )
             msg_Warn( p_stream, "%d channels invalid for mp3, forcing to 2",
                       p_sys->i_channels );
             p_sys->i_channels = 2;
-        }                    
+        }
         msg_Dbg( p_stream, "codec audio=%4.4s %dHz %d channels %dKb/s",
                  (char *)&p_sys->i_acodec, p_sys->i_sample_rate,
                  p_sys->i_channels, p_sys->i_abitrate / 1000 );
@@ -1124,7 +1124,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
         /* Transcode OSD menu pictures. */
         if( p_sys->b_es_osd )
         {
-            transcode_osd_process( p_stream, id, p_buffer, &p_out );                
+            transcode_osd_process( p_stream, id, p_buffer, &p_out );
         }
         return p_sys->p_out->pf_send( p_sys->p_out, id->id, p_buffer );
     }
@@ -1758,7 +1758,7 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream,
              f_scale_height = f_scale_height * f_target_aspect / f_aspect;
          }
          f_aspect = f_target_aspect;
-         msg_Dbg( p_stream, "Canvas scaled pixel aspect is %f:1", f_aspect );
+         msg_Dbg( p_stream, "canvas scaled pixel aspect is %f:1", f_aspect );
      }
 
      /* f_scale_width and f_scale_height are now final */
@@ -1854,7 +1854,7 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream,
      id->p_encoder->fmt_in.video.i_width = i_dst_width;
      id->p_encoder->fmt_in.video.i_height = i_dst_height;
 
-     msg_Dbg( p_stream, "Source %ix%i, crop %ix%i, "
+     msg_Dbg( p_stream, "source %ix%i, crop %ix%i, "
                         "destination %ix%i, padding %ix%i",
          i_src_width, i_src_height,
          p_sys->i_crop_width, p_sys->i_crop_height,