Use existing config option for selecting monitor
This commit is contained in:
parent
fe3784454a
commit
0049b36471
5 changed files with 375 additions and 447 deletions
|
|
@ -106,7 +106,6 @@ video_t video {
|
|||
{}, // encoder
|
||||
{}, // adapter_name
|
||||
{}, // output_name
|
||||
-1
|
||||
};
|
||||
|
||||
audio_t audio {};
|
||||
|
|
@ -372,8 +371,6 @@ void apply_config(std::unordered_map<std::string, std::string> &&vars) {
|
|||
|
||||
string_f(vars, "audio_sink", audio.sink);
|
||||
|
||||
int_between_f(vars, "linux_monitor_id", video.linux_monitor_id, { 0, 32 });
|
||||
|
||||
string_restricted_f(vars, "origin_pin_allowed", nvhttp.origin_pin_allowed, {
|
||||
"pc"sv, "lan"sv, "wan"sv
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue