gstavviddec: Only allow a single closed caption meta
authorVivia Nikolaidou <vivia@ahiru.eu>
Thu, 2 Jul 2020 09:28:34 +0000 (12:28 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Jul 2020 07:02:05 +0000 (07:02 +0000)
commit83190c4ec0041db0c10a629b51f8f9881fac9300
tree1b4d8617a3e601ffb8bb6196c4b6a85b5dff04ba
parent0f7a515efbef92f7479b56555f5c7108fbdb2b7f
gstavviddec: Only allow a single closed caption meta

Following discussion in
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1396#note_556068

While it is technically possible to store multiple closed caption metas
in the same buffer, we don't currently do that anywhere and for
H264/MPEG2 both parts have to be stored in the same packet, and also the
number of CC bytes you can store per frame is rather limited. This
restriction might be relaxed later once we figured out how to do it
without breaking things.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/82>
ext/libav/gstavviddec.c