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

Side by Side Diff: webrtc/modules/video_coding/video_coding_impl.cc

Issue 2993923002: Removing VCMCodecDataBase::Codec and VideoCodingModule::Codec. (Closed)
Patch Set: Remove deprate - let sprang handle when method is removed Created 3 years, 4 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 private: 263 private:
264 rtc::ThreadChecker construction_thread_; 264 rtc::ThreadChecker construction_thread_;
265 EncodedImageCallbackWrapper post_encode_callback_; 265 EncodedImageCallbackWrapper post_encode_callback_;
266 vcm::VideoSender sender_; 266 vcm::VideoSender sender_;
267 std::unique_ptr<VideoBitrateAllocator> rate_allocator_; 267 std::unique_ptr<VideoBitrateAllocator> rate_allocator_;
268 std::unique_ptr<VCMTiming> timing_; 268 std::unique_ptr<VCMTiming> timing_;
269 vcm::VideoReceiver receiver_; 269 vcm::VideoReceiver receiver_;
270 }; 270 };
271 } // namespace 271 } // namespace
272 272
273 void VideoCodingModule::Codec(VideoCodecType codecType, VideoCodec* codec) {
274 VCMCodecDataBase::Codec(codecType, codec);
275 }
276
277 // DEPRECATED. Create method for current interface, will be removed when the 273 // DEPRECATED. Create method for current interface, will be removed when the
278 // new jitter buffer is in place. 274 // new jitter buffer is in place.
279 VideoCodingModule* VideoCodingModule::Create(Clock* clock, 275 VideoCodingModule* VideoCodingModule::Create(Clock* clock,
280 EventFactory* event_factory) { 276 EventFactory* event_factory) {
281 RTC_DCHECK(clock); 277 RTC_DCHECK(clock);
282 RTC_DCHECK(event_factory); 278 RTC_DCHECK(event_factory);
283 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, 279 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr,
284 nullptr); 280 nullptr);
285 } 281 }
286 282
287 } // namespace webrtc 283 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/video_coding_defines.h ('k') | webrtc/modules/video_coding/video_receiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698