mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
encoders/ffmpeg: Add function to get info object
This commit is contained in:
parent
a39fd89ba7
commit
8306dc5b92
2 changed files with 7 additions and 0 deletions
|
@ -1098,6 +1098,11 @@ const AVCodec* ffmpeg_factory::get_avcodec()
|
|||
return _avcodec;
|
||||
}
|
||||
|
||||
obs_encoder_info* streamfx::encoder::ffmpeg::ffmpeg_factory::get_info()
|
||||
{
|
||||
return &_info;
|
||||
}
|
||||
|
||||
ffmpeg_manager::ffmpeg_manager() : _factories(), _handlers(), _debug_handler()
|
||||
{
|
||||
// Handlers
|
||||
|
|
|
@ -147,6 +147,8 @@ namespace streamfx::encoder::ffmpeg {
|
|||
|
||||
public:
|
||||
const AVCodec* get_avcodec();
|
||||
|
||||
obs_encoder_info* get_info();
|
||||
};
|
||||
|
||||
class ffmpeg_manager {
|
||||
|
|
Loading…
Reference in a new issue