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

Unified Diff: remoting/protocol/video_frame_pump.cc

Issue 1846893002: Interface with webrtc through encoded frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sergey comment Created 4 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 | « remoting/protocol/connection_unittest.cc ('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 2065c8b4dbdef90e81202acf9caec6b6a68533ed..796e9d7575c95f0e7a15bb341bc811bcf6be2c9b 100644
--- a/remoting/protocol/video_frame_pump.cc
+++ b/remoting/protocol/video_frame_pump.cc
@@ -172,7 +172,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);
+ packet = encoder->Encode(*frame, 0);
// If |frame| is NULL, or the encoder returned nothing, return an empty
// packet.
« no previous file with comments | « remoting/protocol/connection_unittest.cc ('k') | remoting/protocol/video_frame_pump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698