mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix: hevc and av1 is always 10bits
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user