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

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

Issue 53413004: Clear any pending surface change prior to checking media crypto in MSP::ConfigureVideoDecoderJob() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « no previous file | media/base/android/media_source_player.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_source_player.h
diff --git a/media/base/android/media_source_player.h b/media/base/android/media_source_player.h
index c718464408fd749e81e45752a30fdd044e496849..93041e5804b1c4af7e75b69c389e591b685916c6 100644
--- a/media/base/android/media_source_player.h
+++ b/media/base/android/media_source_player.h
@@ -100,7 +100,11 @@ class MEDIA_EXPORT MediaSourcePlayer : public MediaPlayerAndroid,
// Handle pending events when all the decoder jobs finished.
void ProcessPendingEvents();
- // Helper method to configure the decoder jobs.
+ // Helper method to clear any pending |SURFACE_CHANGE_EVENT_PENDING|
+ // and reset |video_decoder_job_| to null.
+ void ResetVideoDecoderJob();
+
+ // Helper methods to configure the decoder jobs.
void ConfigureVideoDecoderJob();
void ConfigureAudioDecoderJob();
« no previous file with comments | « no previous file | media/base/android/media_source_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698