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

Unified Diff: media/cast/sender/video_sender.h

Issue 1157193002: RESOURCE_UTILIZATION in VideoFrameMetadata, a consumer feedback signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_frame_done_callback
Patch Set: Created 5 years, 7 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: media/cast/sender/video_sender.h
diff --git a/media/cast/sender/video_sender.h b/media/cast/sender/video_sender.h
index f9b49e23322b1b107e47b466eaf7d5e8bf95373c..2bf4d82a81983e32175ddc095a88daed16aed707 100644
--- a/media/cast/sender/video_sender.h
+++ b/media/cast/sender/video_sender.h
@@ -67,7 +67,8 @@ class VideoSender : public FrameSender,
private:
// Called by the |video_encoder_| with the next EncodedFrame to send.
- void OnEncodedVideoFrame(int encoder_bitrate,
+ void OnEncodedVideoFrame(const scoped_refptr<media::VideoFrame>& video_frame,
+ int encoder_bitrate,
scoped_ptr<SenderEncodedFrame> encoded_frame);
// Encodes media::VideoFrame images into EncodedFrames. Per configuration,

Powered by Google App Engine
This is Rietveld 408576698