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

Unified Diff: webrtc/video/vie_encoder.cc

Issue 2541863002: Delete VideoFrame default constructor, and IsZeroSize method. (Closed)
Patch Set: Delete DCHECK using IsZeroSize. Created 4 years 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: webrtc/video/vie_encoder.cc
diff --git a/webrtc/video/vie_encoder.cc b/webrtc/video/vie_encoder.cc
index 5722d06c1e651a4961896e49e774e83e9ed5218d..7f18233555c6224c15f84db95a6bbb1e0a5d3f42 100644
--- a/webrtc/video/vie_encoder.cc
+++ b/webrtc/video/vie_encoder.cc
@@ -78,10 +78,10 @@ class ViEEncoder::EncodeTask : public rtc::QueuedTask {
ViEEncoder* vie_encoder,
int64_t time_when_posted_in_ms,
bool log_stats)
- : vie_encoder_(vie_encoder),
+ : frame_(frame),
+ vie_encoder_(vie_encoder),
time_when_posted_ms_(time_when_posted_in_ms),
log_stats_(log_stats) {
- frame_ = frame;
++vie_encoder_->posted_frames_waiting_for_encode_;
}

Powered by Google App Engine
This is Rietveld 408576698