| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "talk/media/base/capturerenderadapter.h" | 28 #include "talk/media/base/capturerenderadapter.h" |
| 29 | 29 |
| 30 #include "talk/media/base/videocapturer.h" | 30 #include "talk/media/base/videocapturer.h" |
| 31 #include "talk/media/base/videoprocessor.h" | |
| 32 #include "talk/media/base/videorenderer.h" | 31 #include "talk/media/base/videorenderer.h" |
| 33 #include "webrtc/base/logging.h" | 32 #include "webrtc/base/logging.h" |
| 34 | 33 |
| 35 namespace cricket { | 34 namespace cricket { |
| 36 | 35 |
| 37 CaptureRenderAdapter::CaptureRenderAdapter(VideoCapturer* video_capturer) | 36 CaptureRenderAdapter::CaptureRenderAdapter(VideoCapturer* video_capturer) |
| 38 : video_capturer_(video_capturer) { | 37 : video_capturer_(video_capturer) { |
| 39 } | 38 } |
| 40 | 39 |
| 41 CaptureRenderAdapter::~CaptureRenderAdapter() { | 40 CaptureRenderAdapter::~CaptureRenderAdapter() { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 for (VideoRenderers::const_iterator iter = video_renderers_.begin(); | 134 for (VideoRenderers::const_iterator iter = video_renderers_.begin(); |
| 136 iter != video_renderers_.end(); ++iter) { | 135 iter != video_renderers_.end(); ++iter) { |
| 137 if (&video_renderer == iter->renderer) { | 136 if (&video_renderer == iter->renderer) { |
| 138 return true; | 137 return true; |
| 139 } | 138 } |
| 140 } | 139 } |
| 141 return false; | 140 return false; |
| 142 } | 141 } |
| 143 | 142 |
| 144 } // namespace cricket | 143 } // namespace cricket |
| OLD | NEW |