Revision 9f3252e2

View differences:

chunker_streamer/chunker_streamer.c
149 149
    "\t[--video_stream]:set video_stream ID in input\n"
150 150
    "\t[--audio_stream]:set audio_stream ID in input\n"
151 151
    "\t[--avfilter]:set input filter (default: yadif\n"
152
    "\t[--no-indexchannel]: turn off generation of index channel\n"
153 152
    "\t[--qualitylevels]:set number of quality levels\n"
154 153
    "\t[--passthrough 0/1]: turn off/on generation of passthrough channel\n"
154
    "\t[--indexchannel 0/1]: turn off/on generation of index channel\n"
155 155
    "\n"
156 156
    "Codec options:\n"
157 157
    "\t[-g GOP]: gop size\n"
......
567 567
		{"audio_stream", required_argument, 0, 0},
568 568
		{"video_stream", required_argument, 0, 0},
569 569
		{"avfilter", required_argument, 0, 0},
570
		{"indexchannel", no_argument, &indexchannel, 1},
571
		{"no-indexchannel", no_argument, &indexchannel, 0},
570
		{"indexchannel", required_argument, 0, 0},
572 571
		{"passthrough", required_argument, 0, 0},
573 572
		{"qualitylevels", required_argument, 0, 'Q'},
574 573
		{0, 0, 0, 0}
......
583 582
				if( strcmp( "audio_stream", long_options[option_index].name ) == 0 ) { audioStream = atoi(optarg); }
584 583
				if( strcmp( "video_stream", long_options[option_index].name ) == 0 ) { videoStream = atoi(optarg); }
585 584
				if( strcmp( "avfilter", long_options[option_index].name ) == 0 ) { avfilter = strdup(optarg); }
585
				if( strcmp( "indexchannel", long_options[option_index].name ) == 0 ) { indexchannel = atoi(optarg); }
586 586
				if( strcmp( "passthrough", long_options[option_index].name ) == 0 ) { passthrough = atoi(optarg); }
587 587
				break;
588 588
			case 'i':

Also available in: Unified diff