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

Side by Side Diff: webrtc/media/base/fakevideorenderer.h

Issue 1811373002: Fix broken CVO header extension (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « webrtc/api/test/fakevideotrackrenderer.h ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 int errors() const { return errors_; } 53 int errors() const { return errors_; }
54 int width() const { 54 int width() const {
55 rtc::CritScope cs(&crit_); 55 rtc::CritScope cs(&crit_);
56 return width_; 56 return width_;
57 } 57 }
58 int height() const { 58 int height() const {
59 rtc::CritScope cs(&crit_); 59 rtc::CritScope cs(&crit_);
60 return height_; 60 return height_;
61 } 61 }
62 int rotation() const { 62 webrtc::VideoRotation rotation() const {
63 rtc::CritScope cs(&crit_); 63 rtc::CritScope cs(&crit_);
64 return rotation_; 64 return rotation_;
65 } 65 }
66 66
67 int64_t timestamp() const { 67 int64_t timestamp() const {
68 rtc::CritScope cs(&crit_); 68 rtc::CritScope cs(&crit_);
69 return timestamp_; 69 return timestamp_;
70 } 70 }
71 int num_rendered_frames() const { 71 int num_rendered_frames() const {
72 rtc::CritScope cs(&crit_); 72 rtc::CritScope cs(&crit_);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 webrtc::VideoRotation rotation_; 138 webrtc::VideoRotation rotation_;
139 int64_t timestamp_; 139 int64_t timestamp_;
140 int num_rendered_frames_; 140 int num_rendered_frames_;
141 bool black_frame_; 141 bool black_frame_;
142 rtc::CriticalSection crit_; 142 rtc::CriticalSection crit_;
143 }; 143 };
144 144
145 } // namespace cricket 145 } // namespace cricket
146 146
147 #endif // WEBRTC_MEDIA_BASE_FAKEVIDEORENDERER_H_ 147 #endif // WEBRTC_MEDIA_BASE_FAKEVIDEORENDERER_H_
OLDNEW
« no previous file with comments | « webrtc/api/test/fakevideotrackrenderer.h ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698