ccconverter: write the cdp timecode data correctly
authorMatthew Waters <matthew@centricular.com>
Thu, 2 Jul 2020 14:47:09 +0000 (00:47 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Jul 2020 06:54:46 +0000 (06:54 +0000)
commitebd1b2c9296ee9bd625af03cde4de1f7f36b39e6
tree798b41a87da3c5f8a73d7e1c19946c9b35ef1657
parent327a79e98209ba3b56632b09b606a7708ca28100
ccconverter: write the cdp timecode data correctly

We were mixing up the tens part with the unit parts all over the place.

e.g. 12 seconds would be encoded as 0x21 instead of the correct 0x12

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1400>
ext/closedcaption/gstccconverter.c
tests/check/elements/ccconverter.c