You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixing small regression on initial rotation keyframes from our previous commit.
This commit is contained in:
@@ -149,8 +149,11 @@ void Clip::init_reader_rotation() {
|
||||
return;
|
||||
|
||||
const auto rotate_meta = reader->info.metadata.find("rotate");
|
||||
if (rotate_meta == reader->info.metadata.end())
|
||||
if (rotate_meta == reader->info.metadata.end()) {
|
||||
// Ensure rotation keyframes always start with a default 0° point.
|
||||
rotation = Keyframe(0.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
float rotate_angle = 0.0f;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user