videotimecode: Fix incorrect nsec_since_daily_jam calculation
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 16 Nov 2016 17:13:14 +0000 (19:13 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 17 Nov 2016 08:04:26 +0000 (10:04 +0200)
commitf578c00a147876c8deff3c6af20200f90d041045
tree1944653034b5361da903db1fbc8f7db3c4cf590e
parent088aebfda90f328f4c103cd20224db4f2ff021dc
videotimecode: Fix incorrect nsec_since_daily_jam calculation

For drop-frame timecodes, the nsec_since_daily_jam doesn't necessarily
directly correspond to this many hours/minutes/seconds/frames. We have
to get the frame count as per frames_since_daily_jam and then convert.

https://bugzilla.gnome.org/show_bug.cgi?id=774585
gst-libs/gst/video/gstvideotimecode.c