aboutsummaryrefslogtreecommitdiff
path: root/logging/rtc_event_log/events/rtc_event_frame_decoded.h
diff options
context:
space:
mode:
Diffstat (limited to 'logging/rtc_event_log/events/rtc_event_frame_decoded.h')
-rw-r--r--logging/rtc_event_log/events/rtc_event_frame_decoded.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/logging/rtc_event_log/events/rtc_event_frame_decoded.h b/logging/rtc_event_log/events/rtc_event_frame_decoded.h
index c549aa8831..4a6bb90d02 100644
--- a/logging/rtc_event_log/events/rtc_event_frame_decoded.h
+++ b/logging/rtc_event_log/events/rtc_event_frame_decoded.h
@@ -16,6 +16,7 @@
#include <memory>
#include "api/rtc_event_log/rtc_event.h"
+#include "api/units/timestamp.h"
#include "api/video/video_codec_type.h"
namespace webrtc {
@@ -56,10 +57,10 @@ class RtcEventFrameDecoded final : public RtcEvent {
};
struct LoggedFrameDecoded {
- int64_t log_time_us() const { return timestamp_us; }
- int64_t log_time_ms() const { return timestamp_us / 1000; }
+ int64_t log_time_us() const { return timestamp.us(); }
+ int64_t log_time_ms() const { return timestamp.ms(); }
- int64_t timestamp_us;
+ Timestamp timestamp = Timestamp::MinusInfinity();
int64_t render_time_ms;
uint32_t ssrc;
int width;