aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-06 01:44:58 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-06 01:44:58 +0200
commit27a57e50537ab3bf45b76ea2f080b5f8d7044fcd (patch)
tree7725fcbd8cd2ca9c9eeb65358c8a23d9a73c9f9d
parent6141fda5e2100fffd1af8daa01a5ea6dcff77057 (diff)
Add vp8 and vp9 to --list-supported-video-codecs
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9ff8563..1df1044 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1646,6 +1646,10 @@ static void list_supported_video_codecs() {
puts("hevc");
if(find_av1_encoder(egl.gpu_info.vendor, card_path))
puts("av1");
+ if(find_vp8_encoder(egl.gpu_info.vendor, card_path))
+ puts("vp8");
+ if(find_vp9_encoder(egl.gpu_info.vendor, card_path))
+ puts("vp9");
fflush(stdout);