summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/player.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 64fcfc93e..751e681bd 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -263,7 +263,13 @@ Player::film_changed (Film::Property p)
last time we were run.
*/
- if (p == Film::CONTAINER || p == Film::VIDEO_FRAME_RATE) {
+ if (p == Film::CONTAINER) {
+ Changed (false);
+ } else if (p == Film::VIDEO_FRAME_RATE) {
+ /* Pieces contain a FrameRateChange which contains the DCP frame rate,
+ so we need new pieces here.
+ */
+ _have_valid_pieces = false;
Changed (false);
} else if (p == Film::AUDIO_PROCESSOR) {
if (_film->audio_processor ()) {