Coalesce player changes around CPL change. v2.15.127
authorCarl Hetherington <cth@carlh.net>
Tue, 9 Feb 2021 13:08:46 +0000 (14:08 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 9 Feb 2021 13:08:46 +0000 (14:08 +0100)
commit7d33aff2d5e81185f3361e28c84e3f9858464ef1
treeb77d2b066109ba4e6c4d36c80667499ba0b93214
parent09606d58511bddc4c1abe3f2dff1a8eaff13a991
Coalesce player changes around CPL change.

If multiple player changes happen, causing the player to be suspended,
there are problems if one of those changes causes a FilmViewer:seek.
In there, we wait for the seek to finish, but it will never finish
because of the suspension.  Hence it's important that we only trigger
the seek once the suspension is over.

Fixes #1905.
src/tools/dcpomatic_player.cc