98 lines
2.9 KiB
Diff
98 lines
2.9 KiB
Diff
|
From 11dae1dd5a7600534807e254dfa30c9613779dd7 Mon Sep 17 00:00:00 2001
|
||
|
From: GloriousEggroll <gloriouseggroll@gmail.com>
|
||
|
Date: Sat, 29 Apr 2023 14:46:16 -0600
|
||
|
Subject: [PATCH] encoder rename
|
||
|
|
||
|
---
|
||
|
plugins/obs-ffmpeg/obs-ffmpeg-av1.c | 4 ++--
|
||
|
plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c | 4 ++--
|
||
|
plugins/obs-x264/obs-x264.c | 2 +-
|
||
|
5 files changed, 10 insertions(+), 10 deletions(-)
|
||
|
|
||
|
diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-av1.c b/plugins/obs-ffmpeg/obs-ffmpeg-av1.c
|
||
|
index 0b671ae..681f728 100644
|
||
|
--- a/plugins/obs-ffmpeg/obs-ffmpeg-av1.c
|
||
|
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-av1.c
|
||
|
@@ -41,13 +41,13 @@ struct av1_encoder {
|
||
|
static const char *aom_av1_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "AOM AV1";
|
||
|
+ return "CPU: AOM AV1 (FFmpeg)";
|
||
|
}
|
||
|
|
||
|
static const char *svt_av1_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "SVT-AV1";
|
||
|
+ return "CPU: SVT-AV1 (FFmpeg)";
|
||
|
}
|
||
|
|
||
|
static void av1_video_info(void *data, struct video_scale_info *info)
|
||
|
diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c b/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c
|
||
|
index 8cd8138..add8e02 100644
|
||
|
--- a/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c
|
||
|
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c
|
||
|
@@ -45,7 +45,7 @@ struct nvenc_encoder {
|
||
|
extern bool ubuntu_20_04_nvenc_fallback;
|
||
|
#endif
|
||
|
|
||
|
-#define ENCODER_NAME_H264 "NVIDIA NVENC H.264 (FFmpeg)"
|
||
|
+#define ENCODER_NAME_H264 "GPU: NVIDIA NVENC H.264 (FFmpeg)"
|
||
|
static const char *h264_nvenc_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
@@ -53,7 +53,7 @@ static const char *h264_nvenc_getname(void *unused)
|
||
|
}
|
||
|
|
||
|
#ifdef ENABLE_HEVC
|
||
|
-#define ENCODER_NAME_HEVC "NVIDIA NVENC HEVC (FFmpeg)"
|
||
|
+#define ENCODER_NAME_HEVC "GPU: NVIDIA NVENC H.265/HEVC (FFmpeg)"
|
||
|
static const char *hevc_nvenc_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
diff --git a/plugins/obs-x264/obs-x264.c b/plugins/obs-x264/obs-x264.c
|
||
|
index 1de88d3..d4c377d 100644
|
||
|
--- a/plugins/obs-x264/obs-x264.c
|
||
|
+++ b/plugins/obs-x264/obs-x264.c
|
||
|
@@ -68,7 +68,7 @@ struct obs_x264 {
|
||
|
static const char *obs_x264_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "x264";
|
||
|
+ return "CPU: x264";
|
||
|
}
|
||
|
|
||
|
static void obs_x264_stop(void *data);
|
||
|
diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-vaapi.c b/plugins/obs-ffmpeg/obs-ffmpeg-vaapi.c
|
||
|
index 370f9b7..e0bbd82 100644
|
||
|
--- a/plugins/obs-ffmpeg/obs-ffmpeg-vaapi.c
|
||
|
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-vaapi.c
|
||
|
@@ -89,20 +89,20 @@ struct vaapi_encoder {
|
||
|
static const char *h264_vaapi_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "FFmpeg VAAPI H.264";
|
||
|
+ return "GPU: AMD/Intel VAAPI H.264 (FFmpeg)";
|
||
|
}
|
||
|
|
||
|
static const char *av1_vaapi_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "FFmpeg VAAPI AV1";
|
||
|
+ return "GPU: AMD/Intel VAAPI AV1 (FFmpeg)";
|
||
|
}
|
||
|
|
||
|
#ifdef ENABLE_HEVC
|
||
|
static const char *hevc_vaapi_getname(void *unused)
|
||
|
{
|
||
|
UNUSED_PARAMETER(unused);
|
||
|
- return "FFmpeg VAAPI HEVC";
|
||
|
+ return "GPU: AMD/Intel VAAPI H.265/HEVC (FFmpeg)";
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
--
|
||
|
2.40.0
|
||
|
|