diff options
Diffstat (limited to 'content/renderer/media/webmediaplayer_ms.cc')
-rw-r--r-- | content/renderer/media/webmediaplayer_ms.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc index de6f33b..556d58a 100644 --- a/content/renderer/media/webmediaplayer_ms.cc +++ b/content/renderer/media/webmediaplayer_ms.cc @@ -464,6 +464,11 @@ bool WebMediaPlayerMS::UpdateCurrentFrame(base::TimeTicks deadline_min, return false; } +bool WebMediaPlayerMS::HasCurrentFrame() { + base::AutoLock auto_lock(current_frame_lock_); + return current_frame_; +} + scoped_refptr<media::VideoFrame> WebMediaPlayerMS::GetCurrentFrame() { DVLOG(3) << "WebMediaPlayerMS::GetCurrentFrame"; base::AutoLock auto_lock(current_frame_lock_); |