Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 7c5ceac

Browse files
Add missing CODEC_H265 switch case (#136)
* Add missing CODEC_H265 switch case Fixes compiling problems * Update rtc_event_log_parser.cc
1 parent 7afe9ac commit 7c5ceac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

logging/rtc_event_log/rtc_event_log_parser.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ VideoCodecType GetRuntimeCodecType(rtclog2::FrameDecodedEvents::Codec codec) {
305305
return VideoCodecType::kVideoCodecAV1;
306306
case rtclog2::FrameDecodedEvents::CODEC_H264:
307307
return VideoCodecType::kVideoCodecH264;
308+
#ifndef DISABLE_H265
309+
case rtclog2::FrameDecodedEvents::CODEC_H265:
310+
return VideoCodecType::kVideoCodecH265;
311+
#endif
308312
case rtclog2::FrameDecodedEvents::CODEC_UNKNOWN:
309313
RTC_LOG(LS_ERROR) << "Unknown codec type. Assuming "
310314
"VideoCodecType::kVideoCodecMultiplex";

0 commit comments

Comments
 (0)