aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
-rw-r--r--src/window_texture.c2
2 files changed, 3 insertions, 1 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)
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