Index: chromecast/media/cma/pipeline/media_pipeline_impl.h |
diff --git a/chromecast/media/cma/pipeline/media_pipeline_impl.h b/chromecast/media/cma/pipeline/media_pipeline_impl.h |
index 753c5ef31f2ea521b01ccfc12ad77003f459c62e..872181f6fe2bcd13028d7baa647eaae97495b7d6 100644 |
--- a/chromecast/media/cma/pipeline/media_pipeline_impl.h |
+++ b/chromecast/media/cma/pipeline/media_pipeline_impl.h |
@@ -74,6 +74,9 @@ class MediaPipelineImpl { |
BACKEND_STATE_PAUSED |
}; |
struct FlushTask; |
+ void CheckForPlaybackStall(base::TimeDelta media_time, |
+ base::TimeTicks current_stc); |
+ |
void OnFlushDone(bool is_audio_stream); |
// Invoked to notify about a change of buffering state. |
@@ -116,6 +119,11 @@ class MediaPipelineImpl { |
int audio_bytes_for_bitrate_estimation_; |
int video_bytes_for_bitrate_estimation_; |
+ // Playback stalled handling. |
+ bool playback_stalled_; |
+ base::TimeTicks playback_stalled_time_; |
+ bool playback_stalled_notification_sent_; |
+ |
base::WeakPtr<MediaPipelineImpl> weak_this_; |
base::WeakPtrFactory<MediaPipelineImpl> weak_factory_; |