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

Commit a1925b8

Browse files
committed
Add macro to protect code for HEVC.
1 parent 9a8498a commit a1925b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

logging/rtc_event_log/encoder/rtc_event_log_encoder_new_format.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ rtclog2::FrameDecodedEvents::Codec ConvertToProtoFormat(VideoCodecType codec) {
104104
return rtclog2::FrameDecodedEvents::CODEC_AV1;
105105
case VideoCodecType::kVideoCodecH264:
106106
return rtclog2::FrameDecodedEvents::CODEC_H264;
107+
#ifndef DISABLE_H265
107108
case VideoCodecType::kVideoCodecH265:
108109
return rtclog2::FrameDecodedEvents::CODEC_H265;
110+
#endif
109111
case VideoCodecType::kVideoCodecMultiplex:
110112
// This codec type is afaik not used.
111113
return rtclog2::FrameDecodedEvents::CODEC_UNKNOWN;

0 commit comments

Comments
 (0)