encoders/handlers/prores_aw: Fix override warning

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-08-10 03:35:59 +02:00
parent 6b57cdf019
commit 2f6070d7a2

View file

@ -35,24 +35,23 @@ namespace streamfx::encoder::ffmpeg::handler {
virtual ~prores_aw_handler(){}; virtual ~prores_aw_handler(){};
public /*factory*/: public /*factory*/:
virtual void get_defaults(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context, void get_defaults(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context, bool hw_encode) override;
bool hw_encode) override;
public /*support tests*/: public /*support tests*/:
virtual bool has_pixel_format_support(ffmpeg_factory* instance); bool has_pixel_format_support(ffmpeg_factory* instance) override;
public /*settings*/: public /*settings*/:
virtual void get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context, void get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context,
bool hw_encode) override; 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*/: public /*instance*/:
virtual void override_colorformat(AVPixelFormat& target_format, obs_data_t* settings, const AVCodec* codec, void override_colorformat(AVPixelFormat& target_format, obs_data_t* settings, const AVCodec* codec,
AVCodecContext* context) override; 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 } // namespace streamfx::encoder::ffmpeg::handler