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

Unified Diff: content/common/gpu/media/android_video_decode_accelerator.cc

Issue 669623004: Switch to Lollipop APIs for MediaCodec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove getInputBufferCount() call Created 6 years, 2 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
Index: content/common/gpu/media/android_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc
index 0eee64152f51126fa599433e3c83ecc099487693..8fbdeb147c987510e6b48a7b7844cab15b78cd82 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.cc
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc
@@ -259,9 +259,6 @@ void AndroidVideoDecodeAccelerator::DequeueOutput() {
}
case media::MEDIA_CODEC_OUTPUT_BUFFERS_CHANGED:
- RETURN_ON_FAILURE(media_codec_->GetOutputBuffers(),
- "Cannot get output buffer from MediaCodec.",
- PLATFORM_FAILURE);
break;
case media::MEDIA_CODEC_OK:

Powered by Google App Engine
This is Rietveld 408576698