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

Unified Diff: webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc

Issue 2398963003: Move usage of QualityScaler to ViEEncoder. (Closed)
Patch Set: Report dropped frames to ViEEncoder Created 4 years, 1 month 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/media/engine/videoencodersoftwarefallbackwrapper.cc
diff --git a/webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc b/webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc
index cc37a91736e9e1df696e32ecbba445ff0bd43c4b..6f5b8885196a587dc6919891e3562a0f7a37edd9 100644
--- a/webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc
+++ b/webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc
@@ -157,16 +157,15 @@ int32_t VideoEncoderSoftwareFallbackWrapper::SetRateAllocation(
return ret;
}
-void VideoEncoderSoftwareFallbackWrapper::OnDroppedFrame() {
- if (fallback_encoder_)
- return fallback_encoder_->OnDroppedFrame();
- return encoder_->OnDroppedFrame();
-}
-
bool VideoEncoderSoftwareFallbackWrapper::SupportsNativeHandle() const {
if (fallback_encoder_)
return fallback_encoder_->SupportsNativeHandle();
return encoder_->SupportsNativeHandle();
}
+VideoEncoder::ScalingSettings
+VideoEncoderSoftwareFallbackWrapper::GetScalingSettings() const {
+ return encoder_->GetScalingSettings();
+}
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698