timecodestamper: Fix latency calculation
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Aug 2021 10:02:00 +0000 (13:02 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Aug 2021 10:03:12 +0000 (13:03 +0300)
commit743387052856352c9baa66b6c5c197e3ec5f452b
tree34a2e145a22387025613011d4c35c31bfb275cda
parentc7be05cc38d283b2e31e1881222ede5387100aed
timecodestamper: Fix latency calculation

The LTC extra latency is in ms already and not in frames, so multiplying
with the framerate will end up with a wrong number.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2453>
gst/timecode/gsttimecodestamper.c