Commit 5e7871bb authored by Christophe Mutricy's avatar Christophe Mutricy

stream_out/*: String review (refs #438)

parent 878747ab
...@@ -35,12 +35,12 @@ ...@@ -35,12 +35,12 @@
*****************************************************************************/ *****************************************************************************/
#define ID_TEXT N_("ID") #define ID_TEXT N_("ID")
#define ID_LONGTEXT N_( \ #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_TEXT N_("Delay")
#define DELAY_LONGTEXT N_("Pictures coming from the picture video outputs " \ #define DELAY_LONGTEXT N_("Pictures coming from the picture video outputs " \
"will be delayed accordingly (in milliseconds, >= 100 ms). For high " \ "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_TEXT N_("ID Offset")
#define ID_OFFSET_LONGTEXT N_("Offset to add to the stream IDs specified in " \ #define ID_OFFSET_LONGTEXT N_("Offset to add to the stream IDs specified in " \
......
...@@ -700,7 +700,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url ) ...@@ -700,7 +700,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
{ {
if( p_sys->p_httpd_file ) 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; return;
} }
...@@ -713,7 +713,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url ) ...@@ -713,7 +713,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
{ {
if( p_sys->p_rtsp_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; return;
} }
...@@ -733,7 +733,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url ) ...@@ -733,7 +733,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
{ {
if( p_sys->b_export_sdp_file ) 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; return;
} }
p_sys->b_export_sdp_file = VLC_TRUE; p_sys->b_export_sdp_file = VLC_TRUE;
......
...@@ -44,25 +44,20 @@ ...@@ -44,25 +44,20 @@
#define MUX_LONGTEXT N_( \ #define MUX_LONGTEXT N_( \
"Allows you to specify the output muxer method used for the streaming " \ "Allows you to specify the output muxer method used for the streaming " \
"output." ) "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_TEXT N_("Output destination")
#define DST_LONGTEXT N_( \ #define DST_LONGTEXT N_( \
"Allows you to specify the output destination used for the streaming output." ) "Allows you to specify the output destination used for the streaming output." )
#define NAME_TEXT N_("Session name") #define NAME_TEXT N_("Session name")
#define NAME_LONGTEXT N_( \ #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_TEXT N_("Session groupname")
#define GROUP_LONGTEXT N_( \ #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_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 int Open ( vlc_object_t * );
static void Close ( vlc_object_t * ); static void Close ( vlc_object_t * );
......
...@@ -399,7 +399,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) ...@@ -399,7 +399,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
} }
if ( i == MAX_AUDIO ) if ( i == MAX_AUDIO )
{ {
msg_Err( p_stream, "too many audio streams !" ); msg_Err( p_stream, "too many audio streams!" );
free( id ); free( id );
return NULL; return NULL;
} }
......
...@@ -112,13 +112,13 @@ ...@@ -112,13 +112,13 @@
#define CANVAS_WIDTH_TEXT N_("Video canvas width") #define CANVAS_WIDTH_TEXT N_("Video canvas width")
#define CANVAS_WIDTH_LONGTEXT N_( \ #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_TEXT N_("Video canvas height")
#define CANVAS_HEIGHT_LONGTEXT N_( \ #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_TEXT N_("Video canvas aspect ratio")
#define CANVAS_ASPECT_LONGTEXT N_( \ #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_TEXT N_("Audio encoder")
#define AENC_LONGTEXT N_( \ #define AENC_LONGTEXT N_( \
...@@ -1758,7 +1758,7 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream, ...@@ -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_scale_height = f_scale_height * f_target_aspect / f_aspect;
} }
f_aspect = f_target_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 */ /* 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, ...@@ -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_width = i_dst_width;
id->p_encoder->fmt_in.video.i_height = i_dst_height; 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", "destination %ix%i, padding %ix%i",
i_src_width, i_src_height, i_src_width, i_src_height,
p_sys->i_crop_width, p_sys->i_crop_height, p_sys->i_crop_width, p_sys->i_crop_height,
......
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