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

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

Issue 2461073002: Use MediaCodec.setOutputSurface() for fullscreen transitions on M. (Closed)
Patch Set: Fix IPC, but now everything explodes :( Created 4 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: media/base/android/sdk_media_codec_bridge.h
diff --git a/media/base/android/sdk_media_codec_bridge.h b/media/base/android/sdk_media_codec_bridge.h
index 4a1ce0aece32637efa1632b0f796b2b383d41767..6731d6543bcc9d72b393d3ca7220052ef71f7184 100644
--- a/media/base/android/sdk_media_codec_bridge.h
+++ b/media/base/android/sdk_media_codec_bridge.h
@@ -164,6 +164,8 @@ class MEDIA_EXPORT VideoCodecBridge : public SdkMediaCodecBridge {
// the new size.
bool IsAdaptivePlaybackSupported(int width, int height);
+ void SetSurface(jobject surface);
+
// Test-only method to set the return value of IsAdaptivePlaybackSupported().
// Without this function, the return value of that function will be device
// dependent. If |adaptive_playback_supported| is equal to 0, the return value

Powered by Google App Engine
This is Rietveld 408576698