GNOME Bugzilla – Bug 779866
videotimecode: Fix invalid timecode right before a new second
Last modified: 2017-04-09 08:16:20 UTC
See commit message.
Created attachment 347656 [details] [review] videotimecode: Fix invalid timecode right before a new second When initializing a timecode from a GDateTime, and the remaining time until the new second is less than half a frame (according to the given frame rate), it would lead to the creation of an invalid timecode, e.g. 00:00:00:25 (at 25 fps) instead of 00:00:01:00. Fixed.
Attachment 347656 [details] pushed as a122135 - videotimecode: Fix invalid timecode right before a new second
Created attachment 349397 [details] [review] timecode: Fix invalid drop-frame timecode right before a new second The previous fix was only working for non-drop-frame timecodes.
*** Bug 780982 has been marked as a duplicate of this bug. ***
Attachment 349397 [details] pushed as bdccc98 - timecode: Fix invalid drop-frame timecode right before a new second