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

Unified Diff: webrtc/video_decoder.h

Issue 2764573002: Deliver video frames on Android, on the decode thread. (Closed)
Patch Set: Update comments Created 3 years, 9 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 | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_decoder.h
diff --git a/webrtc/video_decoder.h b/webrtc/video_decoder.h
index 70c09129f788908de537b08aa4a68e4c7c42a703..fd487849cebbbd8d58bc51adb66054e99eb1c0a8 100644
--- a/webrtc/video_decoder.h
+++ b/webrtc/video_decoder.h
@@ -68,6 +68,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 | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698