From 7cd7bbe0d28d28c31ba630d545ce998ffe14bbf2 Mon Sep 17 00:00:00 2001 From: Jonas Oreland Date: Wed, 28 Sep 2022 07:40:12 +0200 Subject: [PATCH] Move VideoEncoderConfig from api/ into video/config This cl is a preparation for https://webrtc-review.googlesource.com/c/src/+/277002 so that downstream tests can be modified first. Bug: webrtc:14451 Change-Id: I03b613db695c533bd77ab4bd2f8b35677094443c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/277003 Commit-Queue: Jonas Oreland Reviewed-by: Mirko Bonadei Reviewed-by: Tomas Gunnarsson Cr-Commit-Position: refs/heads/main@{#38231} --- video/config/BUILD.gn | 5 +++++ video/config/video_encoder_config.h | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 video/config/video_encoder_config.h diff --git a/video/config/BUILD.gn b/video/config/BUILD.gn index 7902c0b9a6..be76be9b11 100644 --- a/video/config/BUILD.gn +++ b/video/config/BUILD.gn @@ -66,3 +66,8 @@ if (rtc_include_tests) { } } } + +rtc_library("encoder_config") { + sources = [ "video_encoder_config.h" ] + deps = [ "../../api/video_codecs:video_codecs_api" ] +} diff --git a/video/config/video_encoder_config.h b/video/config/video_encoder_config.h new file mode 100644 index 0000000000..d33dec1da7 --- /dev/null +++ b/video/config/video_encoder_config.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2022 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 VIDEO_CONFIG_VIDEO_ENCODER_CONFIG_H_ +#define VIDEO_CONFIG_VIDEO_ENCODER_CONFIG_H_ + +#include "api/video_codecs/video_encoder_config.h" + +#endif // VIDEO_CONFIG_VIDEO_ENCODER_CONFIG_H_