mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 17:17:16 +09:00
Remove video_alignment_padding variable, replace with putting capture content in the center with frame resolution and capture resolution diff
This commit is contained in:
@@ -42,7 +42,6 @@ struct gsr_capture_base {
|
||||
gsr_color_conversion color_conversion;
|
||||
|
||||
AVCodecContext *video_codec_context;
|
||||
vec2i video_alignment_padding;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -39,7 +39,6 @@ struct gsr_capture_kms {
|
||||
AVContentLightMetadata *light_metadata;
|
||||
|
||||
gsr_monitor_rotation monitor_rotation;
|
||||
vec2i video_alignment_padding;
|
||||
};
|
||||
|
||||
/* Returns 0 on success */
|
||||
|
||||
Reference in New Issue
Block a user