mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Add error checks for video capture resolution since some users are retarded
This commit is contained in:
@@ -17,8 +17,6 @@ typedef struct {
|
||||
int width;
|
||||
int height;
|
||||
int fps;
|
||||
AVCodecContext *video_codec_context; /* can be NULL */
|
||||
AVFrame *frame; /* can be NULL, but will never be NULL if |video_codec_context| is set */
|
||||
} gsr_capture_metadata;
|
||||
|
||||
struct gsr_capture {
|
||||
|
||||
Reference in New Issue
Block a user