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

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

Issue 2114473002: Remove usage of MediaCodec.getName(), use proxy instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 4 years, 6 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: media/base/android/ndk_media_codec_bridge.cc
diff --git a/media/base/android/ndk_media_codec_bridge.cc b/media/base/android/ndk_media_codec_bridge.cc
index 7feebb6eaf378a9d8e911de4bd7d3aa7aa9174d6..3385b31243a865d09f69df7014350ced5a15ce02 100644
--- a/media/base/android/ndk_media_codec_bridge.cc
+++ b/media/base/android/ndk_media_codec_bridge.cc
@@ -249,10 +249,4 @@ MediaCodecStatus NdkMediaCodecBridge::GetOutputBufferAddress(
return MEDIA_CODEC_OK;
}
-bool NdkMediaCodecBridge::IsSoftwareCodec() {
- // There does not appear to be an AMediaCodec_getName() for us to find the
- // codec name.
- return false;
-}
-
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698