X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fplayer.cc;h=0f72ed8588dbbc7f3fa7861f64e415f81f532279;hp=f3d78ab323803b396186ba928b5688c129b469a3;hb=60817309adf931b0e76b52e0ba35190a21cb6d9e;hpb=96107588e0ddf383d21ff00b4d3febb313e43794 diff --git a/src/lib/player.cc b/src/lib/player.cc index f3d78ab32..0f72ed858 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -154,7 +154,7 @@ have_video (shared_ptr content) bool have_audio (shared_ptr content) { - return static_cast(content->audio); + return static_cast(content->audio) && content->can_be_played(); }