You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #568 from OpenShot/fix-resampling-in-mapper
FrameMapper + Resampling loses samples
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user