videoparseutils: Only add a single closed caption meta
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 1 Jul 2020 17:27:14 +0000 (20:27 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Jul 2020 08:25:54 +0000 (08:25 +0000)
commit31d5d04bb1f5e3f6acdef8460193019237ecf5df
treedbea5062a21f3bfdecbb724f4387f939577e756b
parentc94675f1d4a9b5f8520cf4162c2c6964a760fcca
videoparseutils: Only add a single closed caption meta

Otherwise, having a stream go through a parser multiple times would
result in duplicate closed caption meta.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1396>
gst/videoparsers/gstvideoparseutils.c