diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-03 22:41:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-03 22:41:40 +0100 |
| commit | 4b2cf0764a4091b9466f90e6dbbeb029e04bc2be (patch) | |
| tree | df2833faa1f301b0a8a05a08d68dd922cac51d51 /src/lib/ffmpeg_decoder.cc | |
| parent | 257f36fea6aed378c3060c1789294b68b317a456 (diff) | |
Restore correct setup of fast resampler when the player is set to fast.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 5e2cb8638..378b59901 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -78,7 +78,7 @@ using boost::optional; using boost::dynamic_pointer_cast; using dcp::Size; -FFmpegDecoder::FFmpegDecoder (shared_ptr<const FFmpegContent> c, shared_ptr<Log> log) +FFmpegDecoder::FFmpegDecoder (shared_ptr<const FFmpegContent> c, shared_ptr<Log> log, bool fast) : FFmpeg (c) , _log (log) , _have_current_subtitle (false) @@ -94,7 +94,7 @@ FFmpegDecoder::FFmpegDecoder (shared_ptr<const FFmpegContent> c, shared_ptr<Log> } if (c->audio) { - audio.reset (new AudioDecoder (this, c->audio, log)); + audio.reset (new AudioDecoder (this, c->audio, log, fast)); } if (c->subtitle) { |
