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

Unified Diff: webrtc/api/video_codecs/video_decoder.h

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
« no previous file with comments | « no previous file | webrtc/media/engine/videodecodersoftwarefallbackwrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/video_codecs/video_decoder.h
diff --git a/webrtc/api/video_codecs/video_decoder.h b/webrtc/api/video_codecs/video_decoder.h
index ea531e4c1a17872b193107315ca5aa64b3a6b176..3cc991b2ebe154cc68686d31e4d5cdd2fe80f4b5 100644
--- a/webrtc/api/video_codecs/video_decoder.h
+++ b/webrtc/api/video_codecs/video_decoder.h
@@ -69,6 +69,13 @@ class VideoDecoder {
const CodecSpecificInfo* codec_specific_info = NULL,
int64_t render_time_ms = -1) = 0;
+#if defined(WEBRTC_ANDROID)
+ // This is a temporary remedy while the Android capture implementation is
+ // being changed to deliver frames on the decoder thread without polling.
+ // See https://bugs.chromium.org/p/webrtc/issues/detail?id=7361
+ virtual void PollDecodedFrames() {}
+#endif
+
virtual int32_t RegisterDecodeCompleteCallback(
DecodedImageCallback* callback) = 0;
« no previous file with comments | « no previous file | webrtc/media/engine/videodecodersoftwarefallbackwrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698