You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added zoom to Stabilizer Effect
This commit is contained in:
@@ -51,7 +51,7 @@ void CVStabilization::stabilizeClip(openshot::Clip& video, size_t _start, size_t
|
||||
}
|
||||
|
||||
// Extract and track opticalflow features for each frame
|
||||
for (frame_number = start; frame_number < end; frame_number++)
|
||||
for (frame_number = start; frame_number <= end; frame_number++)
|
||||
{
|
||||
// Stop the feature tracker process
|
||||
if(processingController->ShouldStop()){
|
||||
@@ -67,7 +67,7 @@ void CVStabilization::stabilizeClip(openshot::Clip& video, size_t _start, size_t
|
||||
TrackFrameFeatures(cvimage, frame_number);
|
||||
|
||||
// Update progress
|
||||
processingController->SetProgress(uint(100*frame_number/end));
|
||||
processingController->SetProgress(uint(100*(frame_number-start)/(end-start)));
|
||||
}
|
||||
|
||||
// Calculate trajectory data
|
||||
|
||||
Reference in New Issue
Block a user