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

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

Issue 1963343002: Report media error if PlayOutputBuffer failed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Min's comment 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 f719ce1ad207e43079184850e147777395b6fd3e..f868bbe084f7d9cd5f3c65cb8ca49ecef153d91d 100644
--- a/media/base/android/media_codec_decoder.h
+++ b/media/base/android/media_codec_decoder.h
@@ -285,9 +285,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