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

Unified Diff: remoting/protocol/video_frame_pump.cc

Issue 2329653002: Add WebrtcVideoEncoder interface (Closed)
Patch Set: win Created 4 years, 3 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 | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/video_frame_pump_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_frame_pump.cc
diff --git a/remoting/protocol/video_frame_pump.cc b/remoting/protocol/video_frame_pump.cc
index 5e24d40fb0d5ec1550720d7f42ab3b603b729f44..46788810ff191f0229fc0ece00fc5ff23d48b470 100644
--- a/remoting/protocol/video_frame_pump.cc
+++ b/remoting/protocol/video_frame_pump.cc
@@ -169,7 +169,7 @@ VideoFramePump::EncodeFrame(VideoEncoder* encoder,
std::unique_ptr<VideoPacket> packet;
// If |frame| is non-NULL then let the encoder process it.
if (frame)
- packet = encoder->Encode(*frame, 0);
+ packet = encoder->Encode(*frame);
// If |frame| is NULL, or the encoder returned nothing, return an empty
// packet.
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/video_frame_pump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698