mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-12 23:05:06 +00:00
code: Overriding color format doesn't work without a pointer or reference
This commit is contained in:
parent
fc8ebc7bf3
commit
376a3d6233
2 changed files with 2 additions and 2 deletions
|
@ -64,4 +64,4 @@ void streamfx::encoder::ffmpeg::handler::override_update(ffmpeg_factory* factory
|
|||
|
||||
void streamfx::encoder::ffmpeg::handler::log(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings) {}
|
||||
|
||||
void streamfx::encoder::ffmpeg::handler::override_colorformat(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings, AVPixelFormat target_format) {}
|
||||
void streamfx::encoder::ffmpeg::handler::override_colorformat(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings, AVPixelFormat& target_format) {}
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace streamfx::encoder::ffmpeg {
|
|||
virtual void override_update(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings);
|
||||
virtual void log(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings);
|
||||
|
||||
virtual void override_colorformat(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings, AVPixelFormat target_format);
|
||||
virtual void override_colorformat(ffmpeg_factory* factory, ffmpeg_instance* instance, obs_data_t* settings, AVPixelFormat& target_format);
|
||||
|
||||
public:
|
||||
typedef std::map<std::string, handler*> handler_map_t;
|
||||
|
|
Loading…
Reference in a new issue