Fix invalid Interop subtitle times in some cases.
authorCarl Hetherington <cth@carlh.net>
Thu, 15 Oct 2015 08:13:33 +0000 (09:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 15 Oct 2015 08:13:33 +0000 (09:13 +0100)
commit6708d52b5c2ff9ccb6ee99f3b793d791bb95f26b
treef5c440174ba346041cb79195bf83ec694ea51c21
parent5585138e5bd341edc78228869ec72de3cecf9015
Fix invalid Interop subtitle times in some cases.

Use a much higher "timecode rate" (1000 rather than 24) when
representing the time of subtitles internally so that accuracy
is preserved and we don't end up rounding things up to give
out of range results.
src/lib/dcp_decoder.cc
src/lib/player.cc
src/lib/subrip_decoder.cc