Changeset 146b568bba0b4ca20f6ecd0b98ce73263fe55a02

Show
Ignore:
Timestamp:
25/04/04 10:45:28 (5 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1082882728 +0000
git-parent:

[dec85dda922678928cf0cee5200a3c8668b6eb5a]

git-author:
Clément Stenac <zorglub@videolan.org> 1082882728 +0000
Message:

Add option descriptions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_output/file.c

    r3c0c2a2 r146b568  
    6060 
    6161#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.") 
    6265 
    6366vlc_module_begin(); 
     
    6669    add_shortcut( "file" ); 
    6770    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 ); 
    6973    set_callbacks( Open, Close ); 
    7074vlc_module_end(); 
  • modules/access_output/http.c

    r3c0c2a2 r146b568  
    4343 
    4444#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 
    4553 
    4654vlc_module_begin(); 
  • modules/access_output/udp.c

    r3c0c2a2 r146b568  
    6666    "value should be set in millisecond units." ) 
    6767 
     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 
    6886vlc_module_begin(); 
    6987    set_description( _("UDP stream ouput") ); 
    7088    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 ); 
    7597 
    7698    set_capability( "sout access", 100 );