Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: media/renderers/mock_gpu_memory_buffer_video_frame_pool.cc

Issue 1407703003: Reland: Use GpuMemoryBufferVideoFramePool for WebMediaPlayerMS and MediaStreamVideoRendererSink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/renderers/mock_gpu_memory_buffer_video_frame_pool.h"
6
7 #include "base/bind.h"
8
9 namespace media {
10
11 void MockGpuMemoryBufferVideoFramePool::MaybeCreateHardwareFrame(
12 const scoped_refptr<VideoFrame>& video_frame,
13 const FrameReadyCB& frame_ready_cb) {
14 frame_ready_cbs_->push_back(base::Bind(frame_ready_cb, video_frame));
15 }
16
17 } // namespace media
OLDNEW
« no previous file with comments | « media/renderers/mock_gpu_memory_buffer_video_frame_pool.h ('k') | media/renderers/video_renderer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698