Change libdcp::Time to allow sub-second units to be anything, so that
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Jan 2015 23:22:05 +0000 (23:22 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 8 Jan 2015 23:22:05 +0000 (23:22 +0000)
commit7ca029dea19ab0aa1b7e96d363fe6de61350d2e7
treed520d2f6597fa4ccbe2a78e3aea4d1d2614d9373
parentbbb3db16cc7e6f2262a89da4bec9fc356d6c3c12
Change libdcp::Time to allow sub-second units to be anything, so that
we can support SMPTE subtitles which use TimeCodeRate as the base rather
than the arbitrary "ticks" (4ms) of Interop.
src/dcp_time.cc
src/dcp_time.h
src/parse/subtitle.cc
src/parse/subtitle.h
src/subtitle_asset.cc
src/subtitle_asset.h
test/data/subs3.xml [new file with mode: 0644]
test/dcp_time_test.cc
test/subtitle_tests.cc