video-info: add gst_video_info_align_full()
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 3 Jun 2019 10:56:08 +0000 (16:26 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Sat, 2 Nov 2019 12:05:43 +0000 (13:05 +0100)
commit36ce08826e3e241e0ad484de94611c0a4aac96fe
treef08f9ba65da343f2e01e953419c42f9411b790ee
parent73a628923e5fd540d16684a94533329612ff4c04
video-info: add gst_video_info_align_full()

When using gst_video_info_align() user had no easy way to retrieve the
padded size and height of each plane.
This can easily be implemented in fill_planes() as it's already called
in align() with the padded height.

Ideally we'd add a plane_size field to GstVideoInfo but the remaining
padding is too small so that would be an ABI break.

Fix #618
gst-libs/gst/video/video-info.c
gst-libs/gst/video/video-info.h
tests/check/libs/video.c