OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/webrtc/webrtc_video_sink_adapter.h" | 5 #include "content/renderer/media/webrtc/webrtc_video_sink_adapter.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 void WebRtcVideoSinkAdapter::DoRenderFrameOnMainThread( | 112 void WebRtcVideoSinkAdapter::DoRenderFrameOnMainThread( |
113 scoped_refptr<media::VideoFrame> video_frame) { | 113 scoped_refptr<media::VideoFrame> video_frame) { |
114 DCHECK(message_loop_proxy_->BelongsToCurrentThread()); | 114 DCHECK(message_loop_proxy_->BelongsToCurrentThread()); |
115 sink_->OnVideoFrame(video_frame); | 115 sink_->OnVideoFrame(video_frame); |
116 } | 116 } |
117 | 117 |
118 } // namespace content | 118 } // namespace content |
OLD | NEW |