
on Tue Oct 09 2012, Joseph Van Riper <fleeb.fantastique-AT-gmail.com> wrote:
The library I propose would be capable of converting drop-frame timecode, which is a little problematic for Boost.Chrono.
Boost.Chrono, if I have it right, requires a ratio. But, to properly express drop-frame according to SMPTE standards, one must perform a couple of calculations in an algorithm. If you use the ratio approach, you will be at least 2 frames off a day for drop-frame. That kind of accuracy might matter to some people. It has, at least, mattered to my company.
It's been years since this has been relevant to my work, but in case anyone is wondering, it's a real issue. Uniform time such as that represented by chrono doesn't cover all use-cases. -- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost