mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 20:06:42 -08:00
Default passthrough encoder to encoder[0] settings
This commit is contained in:
1 parent
5f373460a1
commit
e4acf2401e
2 files changed
+3
-2
No files matched your search
@@ -359,7 +359,7 @@ std::vector<encoder_settings> get_encoder_settings(wivrn_vk_bundle & bundle, uin
|
||||
if (config.encoders.empty())
|
||||
config.encoders = get_encoder_default_settings(bundle, info.supported_codecs, config.bit_depth);
|
||||
if (not config.encoder_passthrough)
|
||||
config.encoder_passthrough.emplace();
|
||||
config.encoder_passthrough = config.encoders.front();
|
||||
|
||||
config.encoder_passthrough->width = 1;
|
||||
config.encoder_passthrough->height = 1;
|
||||
|
||||
Reference in new issue
Block a user