diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-10 18:41:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-10 18:41:05 +0200 |
commit | e43934e2d2219bdd9a99c78463aa47cfc0404dcd (patch) | |
tree | 0688ffdbc814109caabd5289781a26feb25542e5 /src/capture/xcomposite.c | |
parent | adbd5d976615d6f4edb162899dc28c0cec9e292b (diff) |
Remove video_alignment_padding variable, replace with putting capture content in the center with frame resolution and capture resolution diff
Diffstat (limited to 'src/capture/xcomposite.c')
-rw-r--r-- | src/capture/xcomposite.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/capture/xcomposite.c b/src/capture/xcomposite.c index b8f8962..47daa99 100644 --- a/src/capture/xcomposite.c +++ b/src/capture/xcomposite.c @@ -112,9 +112,6 @@ int gsr_capture_xcomposite_start(gsr_capture_xcomposite *self, AVCodecContext *v video_codec_context->height = FFALIGN(video_size.y, 2); } - self->base.video_alignment_padding.x = self->base.video_codec_context->width - video_size.x; - self->base.video_alignment_padding.y = self->base.video_codec_context->height - video_size.y; - frame->width = video_codec_context->width; frame->height = video_codec_context->height; |