From efd70346004c31abc9be1f09b3aa92da075bc412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 22 Jan 2019 10:35:42 +0100 Subject: [PATCH] Include video_bitrate_allocator.h, now that's in api/ Bug: webrtc:10198 Change-Id: Ib2e825d9ddf41d6b3588787ad3aa37a62c81b1a4 Reviewed-on: https://webrtc-review.googlesource.com/c/118922 Reviewed-by: Karl Wiberg Reviewed-by: Mirko Bonadei Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#26354} --- api/video/BUILD.gn | 1 + api/video/video_stream_encoder_interface.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/video/BUILD.gn b/api/video/BUILD.gn index 356597c7aa..27e2096aca 100644 --- a/api/video/BUILD.gn +++ b/api/video/BUILD.gn @@ -185,6 +185,7 @@ rtc_source_set("video_stream_encoder") { ] deps = [ + ":video_bitrate_allocator", ":video_bitrate_allocator_factory", ":video_frame", diff --git a/api/video/video_stream_encoder_interface.h b/api/video/video_stream_encoder_interface.h index 6a0adde734..0cd9ddcead 100644 --- a/api/video/video_stream_encoder_interface.h +++ b/api/video/video_stream_encoder_interface.h @@ -14,6 +14,7 @@ #include #include "api/rtp_parameters.h" // For DegradationPreference. +#include "api/video/video_bitrate_allocator.h" #include "api/video/video_sink_interface.h" #include "api/video/video_source_interface.h" #include "api/video_codecs/video_encoder.h" @@ -21,9 +22,6 @@ namespace webrtc { -// TODO(nisse): Move full declaration to api/. -class VideoBitrateAllocationObserver; - // This interface represents a class responsible for creating and driving the // encoder(s) for a single video stream. It is also responsible for adaptation // decisions related to video quality, requesting reduced frame rate or