Skip to content

Commit

Permalink
Copy max_audio_samples with Frame DeepCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Jan 2, 2020
1 parent acedf42 commit 0bec048
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit 0bec048

Please sign in to comment.