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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 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: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index bb338153f8fac37a3809049b86557513c440d313..08fb9d263f69d05f8225d8c08e0581ee42be2de4 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -296,6 +296,7 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
void ReallocateVideoFrame();
void SetCurrentFrameInternal(scoped_refptr<media::VideoFrame>& frame);
void RemoveSurfaceTextureAndProxy();
+ void UpdateStreamTextureSize();
void DidLoadMediaInfo(MediaInfoLoader::Status status,
const GURL& redirected_url,
const GURL& first_party_for_cookies,
@@ -432,7 +433,7 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
gpu::Mailbox texture_mailbox_;
// Stream texture ID allocated to the video.
- unsigned int stream_id_;
+ int32 stream_id_;
// Whether the media player has been initialized.
bool is_player_initialized_;

Powered by Google App Engine
This is Rietveld 408576698