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

Unified Diff: media/base/android/java/src/org/chromium/media/MediaCodecBridge.java

Issue 2517203002: Reland of Add GN build rules to allow java_assertion_enabler to enable Java asserts. (Closed)
Patch Set: format nit Created 4 years, 1 month 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: media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
diff --git a/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java b/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
index d04884e9d446a9b911566e5826b460a3a82574fe..4b3dce0885ed05d961e6b8d1362f57f774e5fccc 100644
--- a/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
+++ b/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
@@ -456,7 +456,8 @@ class MediaCodecBridge {
status = MEDIA_CODEC_OK;
index = indexOrStatus;
} else if (indexOrStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
- assert Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT;
+ // TODO(crbug.com/665478)
+ // assert Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT;
mOutputBuffers = mMediaCodec.getOutputBuffers();
status = MEDIA_CODEC_OUTPUT_BUFFERS_CHANGED;
} else if (indexOrStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {

Powered by Google App Engine
This is Rietveld 408576698