X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer.cc;h=87b10a3989a2021be3e04c0971f14f7e7fe166fa;hb=2d5b8cdde08044d323aa7193dfac6c9f8bca7131;hp=220cf83c0ad6c58814fd96eef768aa32404f182f;hpb=1c0f437ea1cbd6231ef9395b1f07c982cd408c39;p=dcpomatic.git diff --git a/src/lib/player.cc b/src/lib/player.cc index 220cf83c0..87b10a398 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -22,10 +22,8 @@ #include "film.h" #include "ffmpeg_decoder.h" #include "ffmpeg_content.h" -#include "still_image_decoder.h" -#include "still_image_content.h" -#include "moving_image_decoder.h" -#include "moving_image_content.h" +#include "image_decoder.h" +#include "image_content.h" #include "sndfile_decoder.h" #include "sndfile_content.h" #include "subtitle_content.h" @@ -221,16 +219,22 @@ Player::pass () } if (_audio) { - Time audio_done_up_to = TIME_MAX; + boost::optional