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

Unified Diff: webkit/renderer/media/android/webmediaplayer_android.cc

Issue 16098014: Handle config changes for MSE on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « webkit/renderer/media/android/webmediaplayer_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/media/android/webmediaplayer_android.cc
diff --git a/webkit/renderer/media/android/webmediaplayer_android.cc b/webkit/renderer/media/android/webmediaplayer_android.cc
index 17017dbbb4c8ecc8cb26acfbb4dded33712d6f97..71398cf955bc6907172bab417240cc086b2299b9 100644
--- a/webkit/renderer/media/android/webmediaplayer_android.cc
+++ b/webkit/renderer/media/android/webmediaplayer_android.cc
@@ -589,8 +589,7 @@ void WebMediaPlayerAndroid::OnMediaPlayerPause() {
client_->playbackStateChanged();
}
-void WebMediaPlayerAndroid::OnMediaSeekRequest(base::TimeDelta time_to_seek,
- bool request_texture_peer) {
+void WebMediaPlayerAndroid::OnMediaSeekRequest(base::TimeDelta time_to_seek) {
if (!media_source_delegate_)
return;
@@ -598,8 +597,13 @@ void WebMediaPlayerAndroid::OnMediaSeekRequest(base::TimeDelta time_to_seek,
media_source_delegate_->CancelPendingSeek();
media_source_delegate_->Seek(time_to_seek);
OnTimeUpdate(time_to_seek);
- if (request_texture_peer)
- EstablishSurfaceTexturePeer();
+}
+
+void WebMediaPlayerAndroid::OnMediaConfigRequest() {
+ if (!media_source_delegate_)
+ return;
+
+ media_source_delegate_->OnMediaConfigRequest();
}
void WebMediaPlayerAndroid::UpdateNetworkState(
« no previous file with comments | « webkit/renderer/media/android/webmediaplayer_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698