Commit 544ad949 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Update multicast stream output options

parent 923a1852
...@@ -91,11 +91,6 @@ static int OpenUDP( vlc_object_t * ); ...@@ -91,11 +91,6 @@ static int OpenUDP( vlc_object_t * );
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
#define MIFACE_TEXT N_("Multicast output interface")
#define MIFACE_LONGTEXT N_( \
"Indicate here the multicast output interface. " \
"This overrides the routing table.")
vlc_module_begin(); vlc_module_begin();
set_shortname( "IPv4" ); set_shortname( "IPv4" );
set_description( _("UDP/IPv4 network abstraction layer") ); set_description( _("UDP/IPv4 network abstraction layer") );
...@@ -103,7 +98,6 @@ vlc_module_begin(); ...@@ -103,7 +98,6 @@ vlc_module_begin();
set_category( CAT_INPUT ); set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_GENERAL ); set_subcategory( SUBCAT_INPUT_GENERAL );
set_callbacks( OpenUDP, NULL ); set_callbacks( OpenUDP, NULL );
add_string( "miface-addr", NULL, NULL, MIFACE_TEXT, MIFACE_LONGTEXT, VLC_TRUE );
vlc_module_end(); vlc_module_end();
/***************************************************************************** /*****************************************************************************
......
...@@ -345,11 +345,16 @@ static char *ppsz_clock_descriptions[] = ...@@ -345,11 +345,16 @@ static char *ppsz_clock_descriptions[] =
"This is the maximum packet size that can be transmitted " \ "This is the maximum packet size that can be transmitted " \
"over network interface. On Ethernet it is usually 1500 bytes.") "over network interface. On Ethernet it is usually 1500 bytes.")
#define TTL_TEXT N_("Time To Live") #define TTL_TEXT N_("Hop limit (TTL)")
#define TTL_LONGTEXT N_( \ #define TTL_LONGTEXT N_( \
"Indicate here the Time To Live of the multicast packets sent by " \ "Specify the hop limit (TTL) of the multicast packets sent by " \
"the stream output.") "the stream output.")
#define MIFACE_TEXT N_("Multicast output interface")
#define MIFACE_LONGTEXT N_( \
"Indicate here the multicast output interface. " \
"This overrides the routing table.")
#define INPUT_PROGRAM_TEXT N_("Program to select") #define INPUT_PROGRAM_TEXT N_("Program to select")
#define INPUT_PROGRAM_LONGTEXT N_( \ #define INPUT_PROGRAM_LONGTEXT N_( \
"Choose the program to select by giving its Service ID.\n" \ "Choose the program to select by giving its Service ID.\n" \
...@@ -1240,7 +1245,6 @@ vlc_module_begin(); ...@@ -1240,7 +1245,6 @@ vlc_module_begin();
SOUT_AUDIO_LONGTEXT, VLC_TRUE ); SOUT_AUDIO_LONGTEXT, VLC_TRUE );
add_bool( "sout-video", 1, NULL, SOUT_VIDEO_TEXT, add_bool( "sout-video", 1, NULL, SOUT_VIDEO_TEXT,
SOUT_VIDEO_LONGTEXT, VLC_TRUE ); SOUT_VIDEO_LONGTEXT, VLC_TRUE );
add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
set_subcategory( SUBCAT_SOUT_STREAM ); set_subcategory( SUBCAT_SOUT_STREAM );
set_subcategory( SUBCAT_SOUT_MUX ); set_subcategory( SUBCAT_SOUT_MUX );
...@@ -1249,6 +1253,9 @@ vlc_module_begin(); ...@@ -1249,6 +1253,9 @@ vlc_module_begin();
set_subcategory( SUBCAT_SOUT_ACO ); set_subcategory( SUBCAT_SOUT_ACO );
add_module( "access_output", "sout access", NULL, NULL, add_module( "access_output", "sout access", NULL, NULL,
ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE ); ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE );
add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
add_string( "miface-addr", NULL, NULL, MIFACE_TEXT, MIFACE_LONGTEXT, VLC_TRUE );
set_subcategory( SUBCAT_SOUT_PACKETIZER ); set_subcategory( SUBCAT_SOUT_PACKETIZER );
add_module( "packetizer","packetizer", NULL, NULL, add_module( "packetizer","packetizer", NULL, NULL,
PACKETIZER_TEXT, PACKETIZER_LONGTEXT, VLC_TRUE ); PACKETIZER_TEXT, PACKETIZER_LONGTEXT, VLC_TRUE );
......
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