From 284dec3a800c58ca005433f9f5e6bdbd87b330e5 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Mon, 10 Aug 2020 03:35:59 +0200 Subject: [PATCH] encoders/handlers/prores_aw: Fix override warning --- .../encoders/handlers/prores_aw_handler.hpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/source/encoders/handlers/prores_aw_handler.hpp b/source/encoders/handlers/prores_aw_handler.hpp index dbfa3b37..a04352ff 100644 --- a/source/encoders/handlers/prores_aw_handler.hpp +++ b/source/encoders/handlers/prores_aw_handler.hpp @@ -35,24 +35,23 @@ namespace streamfx::encoder::ffmpeg::handler { virtual ~prores_aw_handler(){}; public /*factory*/: - virtual void get_defaults(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context, - bool hw_encode) override; + void get_defaults(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context, bool hw_encode) override; public /*support tests*/: - virtual bool has_pixel_format_support(ffmpeg_factory* instance); + bool has_pixel_format_support(ffmpeg_factory* instance) override; public /*settings*/: - virtual void get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context, - bool hw_encode) override; + void get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context, + bool hw_encode) override; - virtual void update(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) override; + void update(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) override; - virtual void log_options(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) override; + void log_options(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) override; public /*instance*/: - virtual void override_colorformat(AVPixelFormat& target_format, obs_data_t* settings, const AVCodec* codec, - AVCodecContext* context) override; + void override_colorformat(AVPixelFormat& target_format, obs_data_t* settings, const AVCodec* codec, + AVCodecContext* context) override; - virtual void process_avpacket(AVPacket& packet, const AVCodec* codec, AVCodecContext* context) override; + void process_avpacket(AVPacket& packet, const AVCodec* codec, AVCodecContext* context) override; }; } // namespace streamfx::encoder::ffmpeg::handler