case INTF_KEY_SET_CHANNEL:
/* Change channel - return code is ignored since SelectChannel displays
* its own error messages */
- intf_SelectChannel( p_intf, k_reply.param - '0' );
+ intf_SelectChannel( p_intf, k_reply.param );
break;
case INTF_KEY_INC_VOLUME: /* volume + */
if( (p_main->p_aout != NULL) && (p_main->p_aout->vol < VOLMAX) )
p_intf->p_channel = NULL;
/* FIXME: channels are disabled */
- return( 0 );
+ //return( 0 );
/* Open file */
p_file = fopen( psz_filename, "r" );
#define OPT_COLOR 165
#define OPT_YUV 166
-#define OPT_NOVLANS 170
+#define OPT_VLANS 170
#define OPT_SERVER 171
#define OPT_PORT 172
#define OPT_BROADCAST 173
{ "dvdsubtitle", 1, 0, 's' },
/* Input options */
- { "novlans", 0, 0, OPT_NOVLANS },
+ { "vlans", 0, 0, OPT_VLANS },
{ "server", 1, 0, OPT_SERVER },
{ "port", 1, 0, OPT_PORT },
{ "broadcast", 0, 0, OPT_BROADCAST },
*/
p_main->b_audio = 1;
p_main->b_video = 1;
- p_main->b_vlans = 1;
+ p_main->b_vlans = 0;
}
/*****************************************************************************
break;
/* Input options */
- case OPT_NOVLANS: /* --novlans */
- p_main->b_vlans = 0;
+ case OPT_VLANS: /* --vlans */
+ p_main->b_vlans = 1;
break;
case OPT_SERVER: /* --server */
main_PutPszVariable( INPUT_SERVER_VAR, optarg );
" -c, --dvdchannel <channel> \tchoose DVD audio channel\n"
" -s, --dvdsubtitle <channel> \tchoose DVD subtitle channel\n"
"\n"
- " --novlans \tdisable vlans\n"
+ " --vlans \tenable vlans\n"
" --server <host> \tvideo server address\n"
" --port <port> \tvideo server port\n"
" --broadcast \tlisten to a broadcast\n"