videometa: add alignment field
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 9 Jul 2019 10:17:44 +0000 (12:17 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Sat, 2 Nov 2019 12:05:43 +0000 (13:05 +0100)
commit75680e5d34ac0d2d67d3ca1064798ece8860000d
tree84a360bb0cbb93a28ef192d13474f135a41f5ef7
parent36ce08826e3e241e0ad484de94611c0a4aac96fe
videometa: add alignment field

By adding this field, buffer producers can now explicitly set the exact
geometry of planes, allowing users to easily know the padded size and
height of each plane.

GstVideoMeta is always heap allocated by GStreamer itself so we can
safely extend it.
gst-libs/gst/video/gstvideometa.c
gst-libs/gst/video/gstvideometa.h
tests/check/libs/video.c