aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-07 00:38:05 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-07 00:43:19 +0100
commitbf6fbea73681387617d4afc28d71b5b6fea96b77 (patch)
tree61a4d2ef1e35b06f203d51ea94669c1836dce99a /src/main.cpp
parent5948233a0f5fc82be4621189e674581166903182 (diff)
Add info about audio names to readme file
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fcbe700..7c347c0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -356,6 +356,8 @@ static const AVCodec* find_h264_encoder(gpu_vendor vendor) {
return checked_success ? codec : nullptr;
}
+// TODO: Disable under intel/amd?
+
static const AVCodec* find_h265_encoder(gpu_vendor vendor) {
const AVCodec *codec = avcodec_find_encoder_by_name(vendor == GPU_VENDOR_NVIDIA ? "hevc_nvenc" : "hevc_vaapi");
if(!codec)