line21enc: heavily constrain video height
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 4 Sep 2020 00:38:58 +0000 (02:38 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 9 Sep 2020 17:38:58 +0000 (19:38 +0200)
commitc07e2a89ba96350965c59a97eaa4b442183fbe6f
tree1fae1cb316a556be930d9d1ce7ccf5c54bcf84b2
parent1d416750d197473d116689185aa85d0503417a1c
line21enc: heavily constrain video height

We can only determine a correct placement for the CC line
with:

* height == 525 (standard NTSC, line 21 / 22)
* height == 486 (NTSC usable lines + 6 lines for VBI, line 1 / 2)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1554>
docs/plugins/gst_plugins_cache.json
ext/closedcaption/gstline21enc.c
tests/check/elements/line21.c