Skip to content

Commit

Permalink
Set clip in constructor to resolve scale crop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffski committed May 16, 2020
1 parent 6e7ad23 commit 4e6c181
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Clip.cpp
Expand Up @@ -150,6 +150,10 @@ Clip::Clip(ReaderBase* new_reader) : resampler(NULL), reader(new_reader), alloca

// Update duration
End(reader->info.duration);

if (new_reader) {
new_reader->SetClip(this);
}
}

// Constructor with filepath
Expand Down

0 comments on commit 4e6c181

Please sign in to comment.