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

Unified Diff: webrtc/modules/video_processing/frame_preprocessor.cc

Issue 2286633002: Delete IsZeroSize method. (Closed)
Patch Set: Created 4 years, 4 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: webrtc/modules/video_processing/frame_preprocessor.cc
diff --git a/webrtc/modules/video_processing/frame_preprocessor.cc b/webrtc/modules/video_processing/frame_preprocessor.cc
index e86bbbb3bf931d829596bbfc8c726bf9b246bff3..05165ca7c4b480889450fcfad66dfe1560179a75 100644
--- a/webrtc/modules/video_processing/frame_preprocessor.cc
+++ b/webrtc/modules/video_processing/frame_preprocessor.cc
@@ -85,9 +85,6 @@ void VPMFramePreprocessor::EnableDenoising(bool enable) {
const VideoFrame* VPMFramePreprocessor::PreprocessFrame(
const VideoFrame& frame) {
- if (frame.IsZeroSize()) {
- return nullptr;
- }
vd_->UpdateIncomingframe_rate();
if (vd_->DropFrame()) {

Powered by Google App Engine
This is Rietveld 408576698