fix: default video buffers to 1
This commit is contained in:
+2
-2
@@ -66,7 +66,7 @@ static void print_help(int status_code) {
|
||||
" -vi, --video-in path to video capture device (multiple "
|
||||
"allowed)\n"
|
||||
" -vb, --video-buffers number of video buffers to use (default: "
|
||||
"2)\n"
|
||||
"1)\n"
|
||||
" -vs, --video-size video capture desired height (default: "
|
||||
"internal texture height)\n"
|
||||
" -vr, --video-reconnect auto-reconnect video (default)\n"
|
||||
@@ -141,7 +141,7 @@ void args_parse(Parameters *params, int argc, char **argv) {
|
||||
params->auto_random_cycle = 4;
|
||||
#ifdef VIDEO_IN
|
||||
params->video_in.length = 0;
|
||||
params->video_buffers = 2;
|
||||
params->video_buffers = 1;
|
||||
params->video_size = 0;
|
||||
params->video_reconnect = true;
|
||||
strlcpy(params->video_fourcc, "YUYV", 5);
|
||||
|
||||
Reference in New Issue
Block a user