Chromium Code Reviews

Unified Diff: webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm

Issue 3000753002: Add a flags field to video timing extension. (Closed)
Patch Set: android fix Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm b/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm
index 4091886dd486eb3d811de000ef6427cf262d2ac1..b50899ed9dffe692b051c71f421960ad5e19698d 100644
--- a/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm
+++ b/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm
@@ -657,7 +657,7 @@ CFStringRef ExtractProfile(const cricket::VideoCodec &codec) {
frame.rotation = rotation;
frame.contentType = (_mode == RTCVideoCodecModeScreensharing) ? RTCVideoContentTypeScreenshare :
RTCVideoContentTypeUnspecified;
- frame.isTimingFrame = NO;
+ frame.flags = 0;
kthelgason 2017/08/14 11:32:36 why is this not webrtc::TimingFrameFlags::kInvalid
sprang_webrtc 2017/08/14 11:56:44 You're right, it should be kInvalid.
int qp;
_h264BitstreamParser.ParseBitstream(buffer->data(), buffer->size());

Powered by Google App Engine