diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-01-07 00:38:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-01-07 00:43:19 +0100 |
commit | bf6fbea73681387617d4afc28d71b5b6fea96b77 (patch) | |
tree | 61a4d2ef1e35b06f203d51ea94669c1836dce99a /src | |
parent | 5948233a0f5fc82be4621189e674581166903182 (diff) |
Add info about audio names to readme file
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/window_texture.c | 2 |
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 |