X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fplayer.cc;h=48c75078e12a59c2bdfabab7f5a91bbf1ea085f0;hp=3e6a1598d17e76559c64b7ca0cde2837ec905b64;hb=8aeb741ccbe2edb528e98a431bf55459a6836a9b;hpb=4ba8772aef261da209bbb882325fd61a8b479fd7 diff --git a/src/lib/player.cc b/src/lib/player.cc index 3e6a1598d..48c75078e 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -450,6 +450,10 @@ Player::setup_pieces () for (ContentList::iterator i = content.begin(); i != content.end(); ++i) { + if (!(*i)->paths_valid ()) { + continue; + } + shared_ptr decoder; optional frc; @@ -566,6 +570,7 @@ Player::content_changed (weak_ptr w, int property, bool frequent) } else if (property == ContentProperty::PATH) { + _have_valid_pieces = false; Changed (frequent); } }