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

Unified Diff: media/base/android/video_decoder_job.cc

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/video_decoder_job.h ('k') | media/base/android/video_media_codec_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/video_decoder_job.cc
diff --git a/media/base/android/video_decoder_job.cc b/media/base/android/video_decoder_job.cc
index 3e3123c98ceb90013d38e555a1170bb16aa6f5da..8f81c0fdd0572bc672cc5db2637fed31d68ae9a4 100644
--- a/media/base/android/video_decoder_job.cc
+++ b/media/base/android/video_decoder_job.cc
@@ -83,9 +83,10 @@ void VideoDecoderJob::ReleaseOutputBuffer(
bool render_output,
bool is_late_frame,
base::TimeDelta current_presentation_timestamp,
- const ReleaseOutputCompletionCallback& callback) {
+ MediaCodecStatus status,
+ const DecoderCallback& callback) {
media_codec_bridge_->ReleaseOutputBuffer(output_buffer_index, render_output);
- callback.Run(is_late_frame, current_presentation_timestamp,
+ callback.Run(status, is_late_frame, current_presentation_timestamp,
current_presentation_timestamp);
}
« no previous file with comments | « media/base/android/video_decoder_job.h ('k') | media/base/android/video_media_codec_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698