mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-06 06:50:43 +09:00
Add missing include
This commit is contained in:
@@ -1093,7 +1093,7 @@ static void usage_full() {
|
|||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, " --info\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, " 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, " 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, " 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");
|
fprintf(stderr, "\n");
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
#include <libdrm/drm_fourcc.h>
|
#include <libdrm/drm_fourcc.h>
|
||||||
|
|
||||||
#include <fcntl.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 */
|
/* This code is partially based on xr-video-player pipewire implementation which is based on obs-studio's pipewire implementation */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user