Changeset 30c31e8c989c4ce76285999f8b627198e79e0d62

Show
Ignore:
Timestamp:
12/11/01 13:54:16 (7 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1005569656 +0000
git-parent:

[693e4708d9319ec64f7a009fe4a8d3e0cf5378ec]

git-author:
Christophe Massiot <massiot@videolan.org> 1005569656 +0000
Message:

New --channelserver switch.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/interface/main.c

    r7888561 r30c31e8  
    55 ***************************************************************************** 
    66 * Copyright (C) 1998, 1999, 2000 VideoLAN 
    7  * $Id: main.c,v 1.121 2001/11/05 15:22:44 massiot Exp $ 
     7 * $Id: main.c,v 1.122 2001/11/12 12:54:16 massiot Exp $ 
    88 * 
    99 * Authors: Vincent Seguin <seguin@via.ecp.fr> 
     
    124124#define OPT_PORT                172 
    125125#define OPT_BROADCAST           173 
     126#define OPT_CHANNELSERVER       174 
    126127 
    127128#define OPT_INPUT               180 
     
    211212    {   "broadcast",        1,          0,      OPT_BROADCAST }, 
    212213    {   "channels",         0,          0,      OPT_CHANNELS }, 
     214    {   "channelserver",    1,          0,      OPT_CHANNELSERVER }, 
    213215 
    214216    /* Synchro options */ 
     
    781783        case OPT_CHANNELS:                                     /* --channels */ 
    782784            main_PutIntVariable( INPUT_NETWORK_CHANNEL_VAR, 1 ); 
     785            break; 
     786        case OPT_CHANNELSERVER:                           /* --channelserver */ 
     787            main_PutPszVariable( INPUT_CHANNEL_SERVER_VAR, optarg ); 
    783788            break; 
    784789        case OPT_SERVER:                                         /* --server */ 
     
    904909          "\n      --input                    \tinput method" 
    905910          "\n      --channels                 \tenable channels" 
     911          "\n      --channelserver <host>     \tchannel server address" 
    906912          "\n      --server <host>            \tvideo server address" 
    907913          "\n      --port <port>              \tvideo server port"