using namespace dcpomatic;
-FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmpegContent> c, bool fast)
+FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmpegContent> c)
: FFmpeg (c)
, Decoder (film)
{
}
if (c->audio) {
- audio = make_shared<AudioDecoder>(this, c->audio, fast);
+ audio = make_shared<AudioDecoder>(this, c->audio);
}
if (c->only_text()) {
audio->flush ();
}
+ Flush ();
+
return true;
}