From c34cf71d601759149a79cd9d59293397009f7b0e Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Fri, 12 Oct 2018 11:24:41 +0000 Subject: [PATCH] Revert "Remove old video_bitrate_allocator.h" This reverts commit 8e87852cbe28f9417611fdf471b7735331b50c9c. Reason for revert: breaks downstream project Original change's description: > Remove old video_bitrate_allocator.h > > Bug: webrtc:9513 > Change-Id: If44e14fbb5d9ace5aadb325b766b596f8217bb9b > Reviewed-on: https://webrtc-review.googlesource.com/c/103001 > Reviewed-by: Stefan Holmer > Commit-Queue: Rasmus Brandt > Cr-Commit-Position: refs/heads/master@{#25018} TBR=brandtr@webrtc.org,stefan@webrtc.org Change-Id: I0914605018ae33614b55b59948bcf3d89a26e4be No-Tree-Checks: true Bug: webrtc:9513 Reviewed-on: https://webrtc-review.googlesource.com/c/105623 Reviewed-by: Oleh Prypin Commit-Queue: Oleh Prypin Cr-Commit-Position: refs/heads/master@{#25140} --- common_video/BUILD.gn | 1 + common_video/include/video_bitrate_allocator.h | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 common_video/include/video_bitrate_allocator.h diff --git a/common_video/BUILD.gn b/common_video/BUILD.gn index fa0d8556be..31d0c072ac 100644 --- a/common_video/BUILD.gn +++ b/common_video/BUILD.gn @@ -28,6 +28,7 @@ rtc_static_library("common_video") { "include/bitrate_adjuster.h", "include/i420_buffer_pool.h", "include/incoming_video_stream.h", + "include/video_bitrate_allocator.h", "include/video_frame.h", "include/video_frame_buffer.h", "incoming_video_stream.cc", diff --git a/common_video/include/video_bitrate_allocator.h b/common_video/include/video_bitrate_allocator.h new file mode 100644 index 0000000000..77a0fef1dd --- /dev/null +++ b/common_video/include/video_bitrate_allocator.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef COMMON_VIDEO_INCLUDE_VIDEO_BITRATE_ALLOCATOR_H_ +#define COMMON_VIDEO_INCLUDE_VIDEO_BITRATE_ALLOCATOR_H_ + +#include "api/video/video_bitrate_allocator.h" + +#endif // COMMON_VIDEO_INCLUDE_VIDEO_BITRATE_ALLOCATOR_H_