videoparse: Only add a single closed caption meta 78/261278/1
authorEunhye Choi <eunhae1.choi@samsung.com>
Wed, 14 Jul 2021 10:00:24 +0000 (19:00 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Wed, 14 Jul 2021 10:00:26 +0000 (19:00 +0900)
commit626b8133b89be931102ebe656a6f107ba02db9af
treee807d1ea741ebe95a6c259c0dd4d791838f53f24
parentf26057d730bfb917a519e29577895ff79d5db2d3
videoparse: Only add a single closed caption meta

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>

upstream commit id : 31d5d04bb1f5e3f6acdef8460193019237ecf5df

Change-Id: I587de0415e78e9e0de21ef079e594bec9bfedabd
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpegvideoparse.c
packaging/gst-plugins-bad.spec