Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Unified Diff: media/cast/net/rtp/rtp_parser.h

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative workaround fix for win8_chromium_ng compile error. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/net/rtp/rtp_packetizer_unittest.cc ('k') | media/cast/net/rtp/rtp_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/rtp_parser.h
diff --git a/media/cast/net/rtp/rtp_parser.h b/media/cast/net/rtp/rtp_parser.h
index f86a285e0b16ea4870fa0caa97a3609cf368a3e7..282bca005ada38aa830bf66369a80ba5ba9baf02 100644
--- a/media/cast/net/rtp/rtp_parser.h
+++ b/media/cast/net/rtp/rtp_parser.h
@@ -42,6 +42,11 @@ class RtpParser {
private:
const uint32_t expected_sender_ssrc_;
const uint8_t expected_payload_type_;
+
+ // Tracks recently-parsed RTP timestamps so that it can expand the truncated
+ // values found in packets.
+ RtpTimeTicks last_parsed_rtp_timestamp_;
+
FrameIdWrapHelper frame_id_wrap_helper_;
DISALLOW_COPY_AND_ASSIGN(RtpParser);
« no previous file with comments | « media/cast/net/rtp/rtp_packetizer_unittest.cc ('k') | media/cast/net/rtp/rtp_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698