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

Unified Diff: media/cast/video_receiver/codecs/vp8/vp8_decoder.cc

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 7 years, 1 month 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: media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
diff --git a/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc b/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
index 8ca6acfc15b1d5aa7405c140482eeea691801ef4..b5a123e982ef75d4177fa0bc3043b1bdf9dce697 100644
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
@@ -83,6 +83,8 @@ bool Vp8Decoder::Decode(const EncodedVideoFrame* encoded_frame,
memcpy(decoded_frame->v_plane.data, img->planes[VPX_PLANE_V],
decoded_frame->v_plane.length);
+ cast_environment_->Logging()->InsertFrameEvent(kVideoFrameDecoded,
+ -1, encoded_frame->frame_id);
Alpha Left Google 2013/11/14 00:29:24 Add a TODO here to replace -1 with something meani
mikhal 2013/11/14 17:42:31 Done.
// Return frame.
VLOG(1) << "Decoded frame " << frame_id_int;
// Frame decoded - return frame to the user via callback.

Powered by Google App Engine
This is Rietveld 408576698