From adbd5d976615d6f4edb162899dc28c0cec9e292b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 10 Jun 2024 17:51:09 +0200 Subject: Take amd hevc video alignment padding into consideration to move video content to center of video with black bars on all sides instead of only right/bottom --- include/capture/capture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/capture/capture.h') diff --git a/include/capture/capture.h b/include/capture/capture.h index 2eb8e42..c8b0cdf 100644 --- a/include/capture/capture.h +++ b/include/capture/capture.h @@ -42,6 +42,7 @@ struct gsr_capture_base { gsr_color_conversion color_conversion; AVCodecContext *video_codec_context; + vec2i video_alignment_padding; }; typedef struct { -- cgit v1.2.3