Skip to content

Commit

Permalink
Merge pull request #568 from OpenShot/fix-resampling-in-mapper
Browse files Browse the repository at this point in the history
FrameMapper + Resampling loses samples
  • Loading branch information
jonoomph committed Sep 14, 2020
2 parents 3f3bcc1 + 6537278 commit 66121bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FrameMapper.cpp
Expand Up @@ -487,7 +487,7 @@ std::shared_ptr<Frame> FrameMapper::GetFrame(int64_t requested_frame)
// includes some additional input samples on first iteration,
// and continues the offset to ensure that the sample rate
// converter isn't input limited.
const int EXTRA_INPUT_SAMPLES = 20;
const int EXTRA_INPUT_SAMPLES = 100;

// Extend end sample count by an additional EXTRA_INPUT_SAMPLES samples
copy_samples.sample_end += EXTRA_INPUT_SAMPLES;
Expand Down

0 comments on commit 66121bf

Please sign in to comment.