omxvideoenc: use gst_video_meta_get_plane_height() to compute slice height
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 10 Apr 2020 08:58:34 +0000 (10:58 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 10 Apr 2020 09:30:29 +0000 (11:30 +0200)
commit5e6090056db4523136a854f627b5722fc37b856f
treef04a1eb69b8fd130a35bfb861239a1e866a4a237
parent84e99060760ee0d9b1e02d2bd98f333428102fdb
omxvideoenc: use gst_video_meta_get_plane_height() to compute slice height

This new API saves us from doing manual computation and actually work
with single planar formats, such as GRAY8.
omx/gstomxvideoenc.c