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

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

Issue 2811963004: Deliver video frames on Android, on the decode thread.
Patch Set: Rebase Created 3 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/media/engine/videodecodersoftwarefallbackwrapper.cc
diff --git a/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc b/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc
index f5b54e11d3336493297a91bdc07d3aac426e1e46..e8fa06468ce1926a9d2f756cdeaa16d58826db3e 100644
--- a/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc
+++ b/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc
@@ -138,6 +138,14 @@ bool VideoDecoderSoftwareFallbackWrapper::PrefersLateDecoding() const {
return decoder_->PrefersLateDecoding();
}
+#if defined(WEBRTC_ANDROID)
+void VideoDecoderSoftwareFallbackWrapper::PollDecodedFrames() {
+ if (fallback_decoder_)
+ return fallback_decoder_->PollDecodedFrames();
+ return decoder_->PollDecodedFrames();
+}
+#endif
+
const char* VideoDecoderSoftwareFallbackWrapper::ImplementationName() const {
if (fallback_decoder_)
return fallback_implementation_name_.c_str();
« no previous file with comments | « webrtc/media/engine/videodecodersoftwarefallbackwrapper.h ('k') | webrtc/modules/video_coding/generic_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698