You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Made a few fixes to the frame mapper
This commit is contained in:
@@ -74,9 +74,13 @@ void FrameMapper::Init()
|
||||
fields.clear();
|
||||
frames.clear();
|
||||
|
||||
// Loop through all fields in the original video file
|
||||
// Calculate # of fields to map
|
||||
int frame = 1;
|
||||
int number_of_fields = info.video_length * 2;
|
||||
int number_of_fields = reader->info.video_length * 2;
|
||||
// if (reader->info.video_length * 2 > number_of_fields)
|
||||
// number_of_fields = reader->info.video_length * 2;
|
||||
|
||||
// Loop through all fields in the original video file
|
||||
for (int field = 1; field <= number_of_fields; field++)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user