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

Unified Diff: media/cast/logging/logging_defines.h

Issue 228603006: Cast: Log whether the video frame is a key frame in kVideoFrameEncoded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win x64 compile Created 6 years, 8 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
« no previous file with comments | « media/cast/logging/encoding_event_subscriber_unittest.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index 348034558b93923bcdbe45f64d8de6c1e8857b54..2b7d2d31da9285fc00e5cc842b04caf5a7bf3a70 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -73,7 +73,8 @@ struct FrameEvent {
RtpTimestamp rtp_timestamp;
uint32 frame_id;
- size_t size; // Encoded size only.
+ // Size of encoded frame. Only set for kVideoFrameEncoded event.
+ size_t size;
// Time of event logged.
base::TimeTicks timestamp;
@@ -82,6 +83,9 @@ struct FrameEvent {
// Render / playout delay. Only set for kAudioPlayoutDelay and
// kVideoRenderDelay events.
base::TimeDelta delay_delta;
+
+ // Whether the frame is a key frame. Only set for kVideoFrameEncoded event.
+ bool key_frame;
};
struct PacketEvent {
« no previous file with comments | « media/cast/logging/encoding_event_subscriber_unittest.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698