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

This commit is contained in:
dec05eba
2024-06-10 17:51:09 +02:00
parent 55266f2a68
commit adbd5d9766
5 changed files with 21 additions and 18 deletions

View File

@@ -39,6 +39,7 @@ struct gsr_capture_kms {
AVContentLightMetadata *light_metadata;
gsr_monitor_rotation monitor_rotation;
vec2i video_alignment_padding;
};
/* Returns 0 on success */