Potential fix for #1568; we calculate the remaining DCPTime but
authorCarl Hetherington <cth@carlh.net>
Sun, 26 May 2019 01:58:17 +0000 (02:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 16 Feb 2020 20:25:49 +0000 (21:25 +0100)
commitac112cdc14b0f600ac1c2d4e24f8b19eea132f54
tree44267e30f760c15d5e87a1f5ef21d6f2456dda9d
parent4b38c8f429407ec09609236fc7b2349459536571
Potential fix for #1568; we calculate the remaining DCPTime but
then convert it back to resampled content frames using the DCP
rate rather than the resampled content rate, which seems wrong.

If we want to go from metric time to frames we surely have to use
the frame rate of the thing we are working with (not the frame rate
which that thing will be played back at).

Backported from 26c62598730d1d32333bfab0d5f463b90d26ee4d in v2.15.x.
src/lib/player.cc