diff options
Diffstat (limited to 'cc/test/fake_video_frame_provider.h')
-rw-r--r-- | cc/test/fake_video_frame_provider.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cc/test/fake_video_frame_provider.h b/cc/test/fake_video_frame_provider.h index da68d5b..4cbd80a 100644 --- a/cc/test/fake_video_frame_provider.h +++ b/cc/test/fake_video_frame_provider.h @@ -21,7 +21,7 @@ class FakeVideoFrameProvider : public VideoFrameProvider { base::TimeTicks deadline_max) override; bool HasCurrentFrame() override; scoped_refptr<media::VideoFrame> GetCurrentFrame() override; - void PutCurrentFrame() override {} + void PutCurrentFrame() override; Client* client() { return client_; } @@ -29,9 +29,12 @@ class FakeVideoFrameProvider : public VideoFrameProvider { frame_ = frame; } + int put_current_frame_count() const { return put_current_frame_count_; } + private: scoped_refptr<media::VideoFrame> frame_; Client* client_; + int put_current_frame_count_; }; } // namespace cc |