From fa81e0166351adec79a06dd1e7878ee00e3dcd0d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 17 Aug 2024 20:06:25 +0200 Subject: Fix: hevc and av1 is always 10bits --- src/main.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3