encoder/handler/prores_aw: Don't enable Key-Frame options

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-09-10 01:35:17 +02:00
parent b46e771a81
commit 50919e1a49
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// FFMPEG Video Encoder Integration for OBS Studio
// Copyright (c) 2019 Michael Fabian Dirks <info@xaymar.com>
// Copyright (c) 2019-2022 Michael Fabian Dirks <info@xaymar.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@ -112,3 +112,8 @@ void prores_aw_handler::log_options(obs_data_t* settings, const AVCodec* codec,
return std::string("<Unknown>");
});
}
bool prores_aw_handler::has_keyframe_support(ffmpeg_factory* instance)
{
return false;
}

View File

@ -1,5 +1,5 @@
// FFMPEG Video Encoder Integration for OBS Studio
// Copyright (c) 2019 Michael Fabian Dirks <info@xaymar.com>
// Copyright (c) 2019-2022 Michael Fabian Dirks <info@xaymar.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@ -44,6 +44,8 @@ namespace streamfx::encoder::ffmpeg::handler {
public /*support tests*/:
bool has_pixel_format_support(ffmpeg_factory* instance) override;
bool has_keyframe_support(ffmpeg_factory* instance) override;
public /*settings*/:
void get_properties(obs_properties_t* props, const AVCodec* codec, AVCodecContext* context,
bool hw_encode) override;