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

Unified Diff: webrtc/media/base/rtpdump.h

Issue 1835053002: Change default timestamp to 64 bits in all webrtc directories. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 9 months 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
Index: webrtc/media/base/rtpdump.h
diff --git a/webrtc/media/base/rtpdump.h b/webrtc/media/base/rtpdump.h
index 4ce479277afd193beabb32755595d71652f19977..6725f5492564cde29fcf079e5031a8abc582bd0c 100644
--- a/webrtc/media/base/rtpdump.h
+++ b/webrtc/media/base/rtpdump.h
@@ -39,7 +39,7 @@ enum RtpDumpPacketFilter {
};
struct RtpDumpFileHeader {
- RtpDumpFileHeader(uint32_t start_ms, uint32_t s, uint16_t p);
+ RtpDumpFileHeader(int64_t start_ms, uint32_t s, uint16_t p);
void WriteToByteBuffer(rtc::ByteBufferWriter* buf);
static const char kFirstLine[];
@@ -112,7 +112,7 @@ class RtpDumpReader {
rtc::StreamInterface* stream_;
bool file_header_read_;
size_t first_line_and_file_header_len_;
- uint32_t start_time_ms_;
+ int64_t start_time_ms_;
uint32_t ssrc_override_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpReader);
@@ -158,10 +158,10 @@ class RtpDumpLoopReader : public RtpDumpReader {
// the previous dump packets in the input stream.
uint32_t first_elapsed_time_;
int first_rtp_seq_num_;
- uint32_t first_rtp_timestamp_;
+ int64_t first_rtp_timestamp_;
uint32_t prev_elapsed_time_;
int prev_rtp_seq_num_;
- uint32_t prev_rtp_timestamp_;
+ int64_t prev_rtp_timestamp_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpLoopReader);
};

Powered by Google App Engine
This is Rietveld 408576698