Revision 5fd002d4 chunker_player/chunker_player.c

View differences:

chunker_player/chunker_player.c
23 23
#include <napa_log.h>
24 24
#endif
25 25

  
26
#define MANDATORY_PARAMS 3
27
#define OPTIONAL_PARAMS 1
26
#define MANDATORY_PARAMS 2
28 27

  
29 28
#ifdef _WIN32
30 29
#include <windows.h>
......
95 94
    "\nUsage:%s [options]\n"
96 95
    "\n"
97 96
    "Mandatory options:\n"
98
    "\t[-q q_thresh]: playout queue size\n"
99 97
    "\t[-c ChannelName]: channel name (from channels.conf)\n"
100 98
    "\t[-p port]: player http port\n\n"
101 99
    "Other options:\n"
100
    "\t[-q q_thresh]: playout queue size\n"
102 101
    "\t[-A audiocodec]\n"
103 102
    "\t[-V videocodec]\n"
104 103
    "\t[-t]: log traces (WARNING: old traces will be deleted).\n"
......
112 111
	srand ( time(NULL) );
113 112
	// some initializations
114 113
	SilentMode = 0;
115
	queue_filling_threshold = 0;
114
	queue_filling_threshold = 50;
116 115
	quit = 0;
117 116
	QueueFillingMode=1;
118 117
	LogTraces = 0;
......
161 160
				break;
162 161
			case 'q':
163 162
				sscanf(optarg, "%d", &queue_filling_threshold);
164
				mandatories++;
165 163
				break;
166 164
			case 'c':
167 165
				sprintf(firstChannelName, "%s", optarg);

Also available in: Unified diff