mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Number of threads used by ffmeg configurable
This commit is contained in:
@@ -20,6 +20,8 @@ video_t video {
|
||||
24, // gop_size
|
||||
35, // crf
|
||||
|
||||
4, // threads
|
||||
|
||||
"baseline"s, // profile
|
||||
"superfast"s, // preset
|
||||
"zerolatency"s // tune
|
||||
@@ -118,6 +120,7 @@ void parse_file(const char *file) {
|
||||
int_f(vars, "max_b_frames", video.max_b_frames);
|
||||
int_f(vars, "gop_size", video.gop_size);
|
||||
int_f(vars, "crf", video.crf);
|
||||
int_f(vars, "threads", video.threads);
|
||||
string_f(vars, "profile", video.profile);
|
||||
string_f(vars, "preset", video.preset);
|
||||
string_f(vars, "tune", video.tune);
|
||||
|
||||
Reference in New Issue
Block a user