X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_decoder.cc;h=602014d5883d2dba1381588bb44a7036debc9c96;hb=39029279954b1f346d3ba28ec12c58211bfa7436;hp=67bb25e0dc71e56fe5678c8bef2b25bd0f17c655;hpb=a4c19a34244aeaf183c25878933b570fc5c0ee34;p=dcpomatic.git diff --git a/src/lib/sndfile_decoder.cc b/src/lib/sndfile_decoder.cc index 67bb25e0d..602014d58 100644 --- a/src/lib/sndfile_decoder.cc +++ b/src/lib/sndfile_decoder.cc @@ -74,7 +74,7 @@ SndfileDecoder::pass () /* Do things in half second blocks as I think there may be limits to what FFmpeg (and in particular the resampler) can cope with. */ - sf_count_t const block = _sndfile_content->content_audio_frame_rate() / 2; + sf_count_t const block = _sndfile_content->audio_frame_rate() / 2; sf_count_t const this_time = min (block, _remaining); int const channels = _sndfile_content->audio_channels (); @@ -131,7 +131,6 @@ SndfileDecoder::audio_frame_rate () const void SndfileDecoder::seek (ContentTime t, bool accurate) { - Decoder::seek (t, accurate); AudioDecoder::seek (t, accurate); _done = t.frames (audio_frame_rate ());