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

Unified Diff: media/cast/logging/logging_raw.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/logging_impl_unittest.cc ('k') | media/cast/logging/logging_raw.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_raw.h
diff --git a/media/cast/logging/logging_raw.h b/media/cast/logging/logging_raw.h
index 29f203b3e03cd73249935dc0a0b5fe674aef3623..e4b8c9ecd6ad3f14c1a15b7ddfd6303ff26027e2 100644
--- a/media/cast/logging/logging_raw.h
+++ b/media/cast/logging/logging_raw.h
@@ -30,12 +30,14 @@ class LoggingRaw : public base::NonThreadSafe {
CastLoggingEvent event, uint32 rtp_timestamp,
uint32 frame_id);
- // Size - Inserting the size implies that this is an encoded frame.
// This function is only applicable for the following frame events:
// kAudioFrameEncoded, kVideoFrameEncoded
- void InsertFrameEventWithSize(const base::TimeTicks& time_of_event,
+ // |size| - Size of encoded frame.
+ // |key_frame| - Whether the frame is a key frame. This field is only
+ // applicable for kVideoFrameEncoded event.
+ void InsertEncodedFrameEvent(const base::TimeTicks& time_of_event,
CastLoggingEvent event, uint32 rtp_timestamp,
- uint32 frame_id, int size);
+ uint32 frame_id, int size, bool key_frame);
// Render/playout delay
// This function is only applicable for the following frame events:
@@ -70,7 +72,7 @@ class LoggingRaw : public base::NonThreadSafe {
void InsertBaseFrameEvent(const base::TimeTicks& time_of_event,
CastLoggingEvent event, uint32 frame_id,
uint32 rtp_timestamp, base::TimeDelta delay,
- int size);
+ int size, bool key_frame);
// List of subscriber pointers. This class does not own the subscribers.
std::vector<RawEventSubscriber*> subscribers_;
« no previous file with comments | « media/cast/logging/logging_impl_unittest.cc ('k') | media/cast/logging/logging_raw.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698