aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-21 02:12:32 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-21 02:12:32 +0200
commit9ca5847f6fcbd7eb093cf9cc7ed16408e0607e99 (patch)
treee0d0f3aff6f52b42729498f05b35087133640892
parent51294af4c6a1366d2304bebba91722b7ba85d0d4 (diff)
Add missing include
-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 */