video-format: add gst_video_format_info_component()
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 16 Jul 2019 10:23:01 +0000 (12:23 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 19 Jul 2019 10:17:02 +0000 (15:47 +0530)
commit509d4c31f031e10f6ae5cdd3a112772fc081e919
treed3facc9267d97ad77f134b720681635991a396ec
parentc854c270be59e21b7c007163ab378972d17cf40d
video-format: add gst_video_format_info_component()

New API to find out which components are packed in a given plane.
Will prevent us from assuming a 1-1 mapping between planes and
components.
gst-libs/gst/video/video-format.c
gst-libs/gst/video/video-format.h
tests/check/libs/video.c