Delete deprecated VideoDecoder::InitDecode
Bug: webrtc:13045
Change-Id: Id1ca822c3be5a4f496dd67b59eab31a79a74bf67
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228949
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34884}
diff --git a/api/video_codecs/video_decoder.h b/api/video_codecs/video_decoder.h
index 1104b00..aa7ee24 100644
--- a/api/video_codecs/video_decoder.h
+++ b/api/video_codecs/video_decoder.h
@@ -20,7 +20,6 @@
#include "api/video/render_resolution.h"
#include "api/video/video_codec_type.h"
#include "api/video/video_frame.h"
-#include "api/video_codecs/video_codec.h"
#include "rtc_base/system/rtc_export.h"
namespace webrtc {
@@ -97,14 +96,7 @@
// Prepares decoder to handle incoming encoded frames. Can be called multiple
// times, in such case only latest `settings` are in effect.
- // TODO(bugs.webrtc.org/13045): Make pure virtual when implemented by all
- // derived classes.
- virtual bool Configure(const Settings& settings);
-
- // TODO(bugs.webrtc.org/13045): Delete in favor of the Configure function
- // above.
- virtual int32_t InitDecode(const VideoCodec* codec_settings,
- int32_t number_of_cores);
+ virtual bool Configure(const Settings& settings) = 0;
virtual int32_t Decode(const EncodedImage& input_image,
bool missing_frames,