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

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: add reference from new unit test to http://crbug.com/313860 Created 7 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
« no previous file with comments | « no previous file | media/base/android/media_source_player.cc » ('j') | media/base/android/media_source_player.cc » ('J')
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 3c16689f7ddd43869f244fde0207e24c693ca3fd..f982f030860612c1bc6f9d286c956a9941fa4545 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') | media/base/android/media_source_player.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698