Changeset 146b568bba0b4ca20f6ecd0b98ce73263fe55a02
- Timestamp:
- 25/04/04 10:45:28 (5 years ago)
- git-parent:
- Files:
-
- modules/access_output/file.c (modified) (2 diffs)
- modules/access_output/http.c (modified) (1 diff)
- modules/access_output/udp.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/access_output/file.c
r3c0c2a2 r146b568 60 60 61 61 #define SOUT_CFG_PREFIX "sout-file-" 62 #define APPEND_TEXT N_("Append to file") 63 #define APPEND_LONGTEXT N_( "Append to file if it exists instead " \ 64 "of replacing it.") 62 65 63 66 vlc_module_begin(); … … 66 69 add_shortcut( "file" ); 67 70 add_shortcut( "stream" ); 68 add_bool( SOUT_CFG_PREFIX "append", 0, NULL, "append", "", VLC_TRUE ); 71 add_bool( SOUT_CFG_PREFIX "append", 0, NULL, APPEND_TEXT,APPEND_LONGTEXT, 72 VLC_TRUE ); 69 73 set_callbacks( Open, Close ); 70 74 vlc_module_end(); modules/access_output/http.c
r3c0c2a2 r146b568 43 43 44 44 #define SOUT_CFG_PREFIX "sout-http-" 45 46 #define USER_TEXT N_("Username") 47 #define USER_LONGTEXT N_("Allows you to give a user name that will be " \ 48 "requested to access the stream." ) 49 #define PASS_TEXT N_("Password") 50 #define PASS_LONGTEXT N_("Allows you to give a password that will be " \ 51 "requested to access the stream." ) 52 45 53 46 54 vlc_module_begin(); modules/access_output/udp.c
r3c0c2a2 r146b568 66 66 "value should be set in millisecond units." ) 67 67 68 #define TTL_TEXT N_("Time To Live") 69 #define TTL_LONGTEXT N_("Allows you to define the time to live of the " \ 70 "outgoing stream.") 71 72 #define GROUP_TEXT N_("Group packets") 73 #define GROUP_LONGTEXT N_("Packets can be sent one by one at the right time " \ 74 "or by groups. This allows you to give the number " \ 75 "of packets that will be sent at a time." ) 76 #define LATE_TEXT N_("Late delay (ms)" ) 77 #define LATE_LONGTEXT N_("Late packets are dropped. This allows you to give " \ 78 "the time (in milliseconds) a packet is allowed to be" \ 79 " late.") 80 #define RAW_TEXT N_("Raw write") 81 #define RAW_LONGTEXT N_("If you enable this option, packets will be sent " \ 82 "directly, without trying to fill the MTU (ie, " \ 83 "without trying to make the biggest possible packets " \ 84 "in order to improve streaming)." ) 85 68 86 vlc_module_begin(); 69 87 set_description( _("UDP stream ouput") ); 70 88 add_integer( SOUT_CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); 71 add_integer( SOUT_CFG_PREFIX "ttl", 0, NULL, "ttl", "", VLC_TRUE ); 72 add_integer( SOUT_CFG_PREFIX "group", 1, NULL, "group", "", VLC_TRUE ); 73 add_integer( SOUT_CFG_PREFIX "late", 0, NULL, "late (ms)", "", VLC_TRUE ); 74 add_bool( SOUT_CFG_PREFIX "raw", 0, NULL, "raw", "", VLC_TRUE ); 89 add_integer( SOUT_CFG_PREFIX "ttl", 0, NULL,TTL_TEXT, TTL_LONGTEXT, 90 VLC_TRUE ); 91 add_integer( SOUT_CFG_PREFIX "group", 1, NULL, GROUP_TEXT, GROUP_LONGTEXT, 92 VLC_TRUE ); 93 add_integer( SOUT_CFG_PREFIX "late", 0, NULL, LATE_TEXT, LATE_LONGTEXT, 94 VLC_TRUE ); 95 add_bool( SOUT_CFG_PREFIX "raw", 0, NULL, RAW_TEXT, RAW_LONGTEXT, 96 VLC_TRUE ); 75 97 76 98 set_capability( "sout access", 100 );
