ui/nvenc_h264_handler: Add name override

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-25 03:06:42 +02:00
parent fbf5ffb921
commit 8d0b12dfe3
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -79,6 +79,10 @@ INITIALIZER(nvenc_h264_handler_init)
});
};
void obsffmpeg::ui::nvenc_h264_handler::override_visible_name(AVCodec* codec, std::string& name) {
name = "H.264/AVC Encoder (NVidia NVENC)";
}
void obsffmpeg::ui::nvenc_h264_handler::get_defaults(obs_data_t* settings, AVCodec* codec, AVCodecContext* context)
{
nvenc::get_defaults(settings, codec, context);