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

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

Issue 1918623002: Use the MediaCodec flush workaround in more cases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/media_codec_bridge.h
diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h
index 25d61f97cc32301371b7cd7abc65847786760034..2ba2a5431e2c08b4a4fa75219997f97c353c45ff 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -160,6 +160,10 @@ class MEDIA_EXPORT MediaCodecBridge {
void* dst,
size_t num) = 0;
+ // Get the component name. Before API level 18, this will return an empty
+ // string.
+ virtual std::string GetName() = 0;
+
protected:
MediaCodecBridge();

Powered by Google App Engine
This is Rietveld 408576698