Merge pull request #406 from OpenShot/copy-max-samples

Copy max_audio_samples with Frame::DeepCopy
This commit is contained in:
Jonathan Thomas
2020-01-02 17:33:17 -06:00
committed by GitHub

View File

@@ -114,6 +114,7 @@ void Frame::DeepCopy(const Frame& other)
sample_rate = other.sample_rate;
pixel_ratio = Fraction(other.pixel_ratio.num, other.pixel_ratio.den);
color = other.color;
max_audio_sample = other.max_audio_sample;
if (other.image)
image = std::shared_ptr<QImage>(new QImage(*(other.image)));