mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-21 09:31:33 -08:00
Don't force 10 bit for H.265 and AV1
This commit is contained in:
1 parent
20a81ed004
commit
c846cb1ed2
1 file changed
+1
-1
@@ -328,7 +328,7 @@ std::array<encoder_settings, 3> get_encoder_settings(wivrn_vk_bundle & bundle, c
|
||||
if (std::ranges::contains(res, video_codec::h264, &encoder_settings::codec) or
|
||||
std::ranges::contains(res, video_codec::raw, &encoder_settings::codec))
|
||||
bit_depth = 8;
|
||||
else
|
||||
else if (not bit_depth)
|
||||
bit_depth = 10;
|
||||
|
||||
auto check_format = [&](vk::Format format) {
|
||||
|
||||
Reference in new issue
Block a user