diff --git a/modules/rtp_rtcp/source/rtp_format.h b/modules/rtp_rtcp/source/rtp_format.h index 3303c92c7f..b2afb205f0 100644 --- a/modules/rtp_rtcp/source/rtp_format.h +++ b/modules/rtp_rtcp/source/rtp_format.h @@ -66,6 +66,13 @@ class RtpDepacketizer { struct ParsedPayload { RTPVideoHeader& video_header() { return video; } const RTPVideoHeader& video_header() const { return video; } + + // TODO(bugs.webrtc.org/10397): These are temporary accessors, to enable + // move of the frame_type member to inside RTPVideoHeader, without breaking + // downstream code. + VideoFrameType FrameType() const { return frame_type; } + void SetFrameType(VideoFrameType type) { frame_type = type; } + RTPVideoHeader video; const uint8_t* payload;