From bf6fbea73681387617d4afc28d71b5b6fea96b77 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 7 Jan 2023 00:38:05 +0100 Subject: Add info about audio names to readme file --- src/main.cpp | 2 ++ src/window_texture.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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) diff --git a/src/window_texture.c b/src/window_texture.c index d30ef61..72a2474 100644 --- a/src/window_texture.c +++ b/src/window_texture.c @@ -121,4 +121,4 @@ int window_texture_on_resize(WindowTexture *self) { unsigned int window_texture_get_opengl_texture_id(WindowTexture *self) { return self->texture_id; -} +} \ No newline at end of file -- cgit v1.2.3