mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00
Delete deprecated VP8Encoder::Create function
Bug: None Change-Id: I42e5d846d3d012f8b85eede743202b84239ceef1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262764 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36914}
This commit is contained in:
parent
a9f10c8189
commit
c5aa5bea49
2 changed files with 0 additions and 16 deletions
|
@ -14,7 +14,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "api/video_codecs/vp8_frame_buffer_controller.h"
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
|
@ -39,11 +38,6 @@ class VP8Encoder {
|
|||
|
||||
static std::unique_ptr<VideoEncoder> Create();
|
||||
static std::unique_ptr<VideoEncoder> Create(Settings settings);
|
||||
|
||||
ABSL_DEPRECATED("")
|
||||
static std::unique_ptr<VideoEncoder> Create(
|
||||
std::unique_ptr<Vp8FrameBufferControllerFactory>
|
||||
frame_buffer_controller_factory);
|
||||
};
|
||||
|
||||
class VP8Decoder {
|
||||
|
|
|
@ -222,16 +222,6 @@ std::unique_ptr<VideoEncoder> VP8Encoder::Create(
|
|||
std::move(settings));
|
||||
}
|
||||
|
||||
std::unique_ptr<VideoEncoder> VP8Encoder::Create(
|
||||
std::unique_ptr<Vp8FrameBufferControllerFactory>
|
||||
frame_buffer_controller_factory) {
|
||||
VP8Encoder::Settings settings;
|
||||
settings.frame_buffer_controller_factory =
|
||||
std::move(frame_buffer_controller_factory);
|
||||
return std::make_unique<LibvpxVp8Encoder>(LibvpxInterface::Create(),
|
||||
std::move(settings));
|
||||
}
|
||||
|
||||
vpx_enc_frame_flags_t LibvpxVp8Encoder::EncodeFlags(
|
||||
const Vp8FrameConfig& references) {
|
||||
RTC_DCHECK(!references.drop_frame);
|
||||
|
|
Loading…
Reference in a new issue