aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
-rw-r--r--src/pipewire.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 39bc64c..4b3cd0c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1093,7 +1093,7 @@ static void usage_full() {
fprintf(stderr, "\n");
fprintf(stderr, " --info\n");
fprintf(stderr, " List info about the system (for use by GPU Screen Recorder UI). Lists the following information (prints them to stdout and exits):\n");
- fprintf(stderr, " Supported video codecs (h264, hevc, hevc_hdr, av1 and av1_hdr (if supported)).\n");
+ fprintf(stderr, " Supported video codecs (h264, hevc, av1, vp8, vp9, (if supported)).\n");
fprintf(stderr, " Supported capture options (window, focused, screen, monitors and portal, if supported by the system).\n");
fprintf(stderr, " If opengl initialization fails then the program exits with 22, if no usable drm device is found then it exits with 23. On success it exits with 0.\n");
fprintf(stderr, "\n");
diff --git a/src/pipewire.c b/src/pipewire.c
index 1133ab0..1870e8a 100644
--- a/src/pipewire.c
+++ b/src/pipewire.c
@@ -8,6 +8,7 @@
#include <libdrm/drm_fourcc.h>
#include <fcntl.h>
+#include <unistd.h>
/* This code is partially based on xr-video-player pipewire implementation which is based on obs-studio's pipewire implementation */