Setup fast state of decoder after creation.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 62d4d2655f59c84af57f96c8c3d25e747794a352..d703f776dd614279dfe777384f319d63f82dc715 100644 (file)
@@ -75,7 +75,7 @@ using boost::dynamic_pointer_cast;
 using dcp::Size;
 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)
        , _have_current_subtitle (false)
@@ -91,7 +91,7 @@ FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmp
        }
 
        if (c->audio) {
-               audio.reset (new AudioDecoder (this, c->audio, fast));
+               audio.reset (new AudioDecoder (this, c->audio));
        }
 
        if (c->only_text()) {