decklinkvideosink: write the cdp timecode data correctly
authorMatthew Waters <matthew@centricular.com>
Fri, 3 Jul 2020 03:02:33 +0000 (13:02 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Jul 2020 06:54:46 +0000 (06:54 +0000)
commitc94675f1d4a9b5f8520cf4162c2c6964a760fcca
tree38125807f465d1849a5eb1ac201f8bf7cf10452a
parentebd1b2c9296ee9bd625af03cde4de1f7f36b39e6
decklinkvideosink: 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

Aligns the code with the same change applied to ccconverter.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1400>
sys/decklink/gstdecklinkvideosink.cpp