| 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 b3af1be238e866794fd6842bf2a2e711b2dc5693..1dca0f03afb8cd8bc46b001fecff9d95443f12b1 100644
|
| --- a/media/base/android/media_source_player.h
|
| +++ b/media/base/android/media_source_player.h
|
| @@ -102,6 +102,7 @@ class MEDIA_EXPORT MediaSourcePlayer : public MediaPlayerAndroid,
|
| // Helper method to clear any pending |SURFACE_CHANGE_EVENT_PENDING|
|
| // and reset |video_decoder_job_| to null.
|
| void ResetVideoDecoderJob();
|
| + void ResetAudioDecoderJob();
|
|
|
| // Helper methods to configure the decoder jobs.
|
| void ConfigureVideoDecoderJob();
|
| @@ -282,6 +283,10 @@ class MEDIA_EXPORT MediaSourcePlayer : public MediaPlayerAndroid,
|
| // Whether |surface_| is currently used by the player.
|
| bool is_surface_in_use_;
|
|
|
| + // Whether there are pending data requests by the decoder.
|
| + bool has_pending_audio_data_request_;
|
| + bool has_pending_video_data_request_;
|
| +
|
| friend class MediaSourcePlayerTest;
|
| DISALLOW_COPY_AND_ASSIGN(MediaSourcePlayer);
|
| };
|
|
|