video: Add gst_video_info_set_interlaced_format()
authorZeeshan Ali <zeenix@collabora.co.uk>
Mon, 2 Jul 2018 14:48:30 +0000 (16:48 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 29 Aug 2018 16:14:38 +0000 (12:14 -0400)
commit0fbe4634a6d3f3fdee1af0c5087c72d9bb05f148
tree4b11ca9c93831e968a0b0ff672c11642370e4856
parentbd9c7b36d87b46c52a67d6a7372ec77d50778283
video: Add gst_video_info_set_interlaced_format()

Add a helper to set the interlacing mode while creating the GstVideoInfo
in addition to format and resolution. Using this helper will ensure that
size is correctly calculated for split-field interlacing mode.

https://bugzilla.gnome.org/show_bug.cgi?id=796106
gst-libs/gst/video/video-info.c
gst-libs/gst/video/video-info.h
tests/check/libs/video.c