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

Unified Diff: remoting/codec/webrtc_video_encoder_vpx.h

Issue 2616213002: Fix WebrtcVideoStream to handle failed capture requests. (Closed)
Patch Set: Created 3 years, 11 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: remoting/codec/webrtc_video_encoder_vpx.h
diff --git a/remoting/codec/webrtc_video_encoder_vpx.h b/remoting/codec/webrtc_video_encoder_vpx.h
index 343571895ea881801d69e4384b121f0e60ffe71c..5c5cfd4e95d04850a47837affdb9bfcafb636d28 100644
--- a/remoting/codec/webrtc_video_encoder_vpx.h
+++ b/remoting/codec/webrtc_video_encoder_vpx.h
@@ -41,7 +41,7 @@ class WebrtcVideoEncoderVpx : public WebrtcVideoEncoder {
void SetLosslessColor(bool want_lossless);
// WebrtcVideoEncoder interface.
- std::unique_ptr<EncodedFrame> Encode(const webrtc::DesktopFrame& frame,
+ std::unique_ptr<EncodedFrame> Encode(const webrtc::DesktopFrame* frame,
const FrameParams& params) override;
private:
@@ -56,7 +56,7 @@ class WebrtcVideoEncoderVpx : public WebrtcVideoEncoder {
// Prepares |image_| for encoding. Writes updated rectangles into
// |updated_region|.
- void PrepareImage(const webrtc::DesktopFrame& frame,
+ void PrepareImage(const webrtc::DesktopFrame* frame,
webrtc::DesktopRegion* updated_region);
// Clears active map.

Powered by Google App Engine
This is Rietveld 408576698