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

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

Issue 1695263002: Move direct use of VideoCapturer::VideoAdapter to VideoSinkWants. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Tried to address pthatchers comments. Created 4 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 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 VideoSinkWants wants) 44 VideoSinkWants wants)
45 : sink(sink), wants(wants) {} 45 : sink(sink), wants(wants) {}
46 VideoSinkInterface<cricket::VideoFrame>* sink; 46 VideoSinkInterface<cricket::VideoFrame>* sink;
47 VideoSinkWants wants; 47 VideoSinkWants wants;
48 }; 48 };
49 SinkPair* FindSinkPair(const VideoSinkInterface<cricket::VideoFrame>* sink); 49 SinkPair* FindSinkPair(const VideoSinkInterface<cricket::VideoFrame>* sink);
50 50
51 ThreadChecker thread_checker_; 51 ThreadChecker thread_checker_;
52 52
53 VideoSinkWants current_wants_; 53 VideoSinkWants current_wants_;
54
55 std::vector<SinkPair> sinks_; 54 std::vector<SinkPair> sinks_;
56 }; 55 };
57 56
58 } // namespace rtc 57 } // namespace rtc
59 58
60 #endif // WEBRTC_MEDIA_BASE_VIDEOBROADCASTER_H_ 59 #endif // WEBRTC_MEDIA_BASE_VIDEOBROADCASTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698