diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-17 20:06:25 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-17 20:06:25 +0200 |
commit | fa81e0166351adec79a06dd1e7878ee00e3dcd0d (patch) | |
tree | ecbb8cc3f8ea312825fa1e68a3d0b1874d563183 | |
parent | eaef33640ea17ea1d67c61732039233c399d16a3 (diff) |
Fix: hevc and av1 is always 10bits
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1443c15..9ac958a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,10 +135,8 @@ static bool video_codec_is_hdr(VideoCodec video_codec) { static gsr_color_depth video_codec_to_bit_depth(VideoCodec video_codec) { switch(video_codec) { - case VideoCodec::HEVC: case VideoCodec::HEVC_HDR: case VideoCodec::HEVC_10BIT: - case VideoCodec::AV1: case VideoCodec::AV1_HDR: case VideoCodec::AV1_10BIT: return GSR_COLOR_DEPTH_10_BITS; |