video-info: fix GST_VIDEO_INFO_FIELD_HEIGHT() with frame odd height
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Sat, 2 Nov 2019 11:15:15 +0000 (12:15 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Sat, 2 Nov 2019 12:05:43 +0000 (13:05 +0100)
commit73a628923e5fd540d16684a94533329612ff4c04
treea95d933f8baa81e2ef6a10d13afefdf09d1c748e
parent4ed345b7ebc1992d7013cff1a1dcd1814ee9c69b
video-info: fix GST_VIDEO_INFO_FIELD_HEIGHT() with frame odd height

We want to round up when halfing height.

I do have a test for this but it relies on my new video-align tests so
it's part of the next commit. Recording the fix separately if we want to
backport this fix to the stable branch.
gst-libs/gst/video/video-info.h