Don't include video_bitrate_allocation.h from encoded_image.h

The needed constant kMaxSpatialLayers is now moved to
video_codec_constants.h.

Bug: webrtc:8311
Change-Id: Iefde2e0668ce6a8d262d2747ad497ae8891873f9
Reviewed-on: https://webrtc-review.googlesource.com/c/123181
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26739}
This commit is contained in:
Niels Möller 2019-02-15 09:33:37 +01:00 committed by Commit Bot
parent 71aee3a116
commit 4a2d57ac43
2 changed files with 2 additions and 4 deletions

View File

@ -81,11 +81,9 @@ rtc_source_set("encoded_image") {
"encoded_image.h",
]
deps = [
":video_codec_constants",
":video_frame",
"../..:webrtc_common",
# TODO(bugs.webrtc.org/8311) Cleanup when kMaxSpatialLayers is moved to proper include.
"../../api/video:video_bitrate_allocation",
"../../rtc_base:checks",
"../../rtc_base:rtc_base_approved",
"../../rtc_base/system:rtc_export",

View File

@ -16,7 +16,7 @@
#include "absl/types/optional.h"
#include "api/video/color_space.h"
#include "api/video/video_bitrate_allocation.h"
#include "api/video/video_codec_constants.h"
#include "api/video/video_codec_type.h"
#include "api/video/video_content_type.h"
#include "api/video/video_rotation.h"