|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Runtime encoder option exposed to configuration parsing. More...
#include <src/video.h>
Public Member Functions | |
| option_t & | operator= (option_t &&) noexcept=default |
| Defaulted move assignment for the generated type. * *. | |
| option_t (const option_t &)=default | |
| Copy an encoder option descriptor. | |
| option_t (option_t &&) noexcept=default | |
| Defaulted move constructor for the generated type. | |
| option_t (std::string &&name, decltype(value) &&value) | |
| Store a named encoder option and its value source. | |
Public Attributes | |
| std::string | name |
| Encoder command-line option name. | |
| std::variant< int, int *, std::optional< int > *, std::function< int()>, std::string, std::string *, std::function< const std::string(const config_t &)> > | value |
| Literal, pointer, or callback that supplies the option value. | |
Runtime encoder option exposed to configuration parsing.
|
defaultnoexcept |
Defaulted move constructor for the generated type.
|
inline |
Store a named encoder option and its value source.
| name | Human-readable name to assign. |
| value | Literal value, pointer, or callback used to resolve the option. |
Defaulted move assignment for the generated type. * *.