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

Side by Side Diff: content/renderer/media/rtc_video_renderer.cc

Issue 862403005: Mechanical rename of tracing includes for /content [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/rtc_video_renderer.h" 5 #include "content/renderer/media/rtc_video_renderer.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "base/trace_event/trace_event.h"
9 #include "media/base/bind_to_current_loop.h" 9 #include "media/base/bind_to_current_loop.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
11 #include "media/base/video_util.h" 11 #include "media/base/video_util.h"
12 12
13 const int kMinFrameSize = 2; 13 const int kMinFrameSize = 2;
14 14
15 namespace content { 15 namespace content {
16 16
17 RTCVideoRenderer::RTCVideoRenderer( 17 RTCVideoRenderer::RTCVideoRenderer(
18 const blink::WebMediaStreamTrack& video_track, 18 const blink::WebMediaStreamTrack& video_track,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // It also ensure that the renderer don't hold a reference to a real video 106 // It also ensure that the renderer don't hold a reference to a real video
107 // frame if no more frames are provided. This is since there might be a 107 // frame if no more frames are provided. This is since there might be a
108 // finite number of available buffers. E.g, video that 108 // finite number of available buffers. E.g, video that
109 // originates from a video camera. 109 // originates from a video camera.
110 scoped_refptr<media::VideoFrame> video_frame = 110 scoped_refptr<media::VideoFrame> video_frame =
111 media::VideoFrame::CreateBlackFrame(frame_size_); 111 media::VideoFrame::CreateBlackFrame(frame_size_);
112 OnVideoFrame(video_frame, media::VideoCaptureFormat(), base::TimeTicks()); 112 OnVideoFrame(video_frame, media::VideoCaptureFormat(), base::TimeTicks());
113 } 113 }
114 114
115 } // namespace content 115 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_peer_connection_handler.cc ('k') | content/renderer/media/video_source_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698