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

Unified Diff: media/base/android/media_codec_decoder.h

Issue 1992913002: [merged] Report media error if PlayOutputBuffer failed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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 | « media/base/android/audio_media_codec_decoder.cc ('k') | media/base/android/media_codec_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_decoder.h
diff --git a/media/base/android/media_codec_decoder.h b/media/base/android/media_codec_decoder.h
index e9d281ff58b421d5bf7acfee50fcaa7597cd95b5..9b23e39cbac92280ebdd34e8c401b06d8b502354 100644
--- a/media/base/android/media_codec_decoder.h
+++ b/media/base/android/media_codec_decoder.h
@@ -284,9 +284,9 @@ class MediaCodecDecoder {
// Returns true if this processing succeeded.
virtual bool OnOutputFormatChanged() = 0;
- // Renders the decoded frame and releases output buffer, or posts
- // a delayed task to do it at a later time,
- virtual void Render(int buffer_index,
+ // Renders the decoded frame and releases output buffer, or posts a delayed
+ // task to do it at a later time. Returnes false if an error occurred.
+ virtual bool Render(int buffer_index,
size_t offset,
size_t size,
RenderMode render_mode,
« no previous file with comments | « media/base/android/audio_media_codec_decoder.cc ('k') | media/base/android/media_codec_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698