summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/android/media_source_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/media/android/media_source_delegate.cc')
-rw-r--r--content/renderer/media/android/media_source_delegate.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/renderer/media/android/media_source_delegate.cc b/content/renderer/media/android/media_source_delegate.cc
index 6b6523c..bd786b0 100644
--- a/content/renderer/media/android/media_source_delegate.cc
+++ b/content/renderer/media/android/media_source_delegate.cc
@@ -190,6 +190,10 @@ const blink::WebTimeRanges& MediaSourceDelegate::Buffered() {
return buffered_web_time_ranges_;
}
+blink::WebTimeRanges MediaSourceDelegate::Buffered() const {
+ return ConvertToWebTimeRanges(buffered_time_ranges_);
+}
+
size_t MediaSourceDelegate::DecodedFrameCount() const {
return statistics_.video_frames_decoded;
}