diff --git a/source/ui/handler.cpp b/source/ui/handler.cpp index cd208ce..67f8db2 100644 --- a/source/ui/handler.cpp +++ b/source/ui/handler.cpp @@ -29,6 +29,12 @@ void obsffmpeg::ui::handler::override_colorformat(AVPixelFormat& target_format, const AVCodec* codec, AVCodecContext* context) {} +void obsffmpeg::ui::handler::get_defaults(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) {} + +void obsffmpeg::ui::handler::get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context) {} + +void obsffmpeg::ui::handler::update(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) {} + void obsffmpeg::ui::handler::log_options(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) {} void obsffmpeg::ui::handler::import_from_ffmpeg(const std::string ffmpeg, obs_data_t* settings, const AVCodec* codec, diff --git a/source/ui/handler.hpp b/source/ui/handler.hpp index eb646ba..5dde6e0 100644 --- a/source/ui/handler.hpp +++ b/source/ui/handler.hpp @@ -47,12 +47,12 @@ namespace obsffmpeg { const AVCodec* codec, AVCodecContext* context); virtual void get_defaults(obs_data_t* settings, const AVCodec* codec, - AVCodecContext* context) = 0; + AVCodecContext* context); virtual void get_properties(obs_properties_t* props, const AVCodec* codec, - AVCodecContext* context) = 0; + AVCodecContext* context); - virtual void update(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context) = 0; + virtual void update(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context); virtual void log_options(obs_data_t* settings, const AVCodec* codec, AVCodecContext* context);