Open unfa opened 1 year ago
I can confirm the "not as expected" behavior, however I do not get a crash, but the clip created does not show anything.
I did look at the code (footageviewer.cpp:88). It looks like when only the in_point
is set, the out_point
is set to TimelineWorkArea::kResetOut
= RATIONAL_MAX
= INT_MAX
. This is fine, but with these values the workarea length
of ViewerOutput
is not updated. If i change workarea_range_.length_.den
during execution, the program function as expected.
With "out point":
Without "out point"
I am very new to the code and try to get familiar, so for now this is probably as far as I can go. I have no idea where this issue can be fixed, If the bug has only impact on the footage viewer or more. It might affect more views using the in-out points. Maybe @itsmattkc can give me some pointers as you implemented this 3 years ago. I might be able to provide a fix.
I can confirm on Windows 10
Commit Hash
7fa69ea5
Platform
Arch Linux KDE
Summary
It seems that Olive doesn't automatically provide a video clip's out point to be the end of the video file. When I set an In point of a clip in the Project Bin, I expect that when I drag that clip on my timeline, I'll se the part between In and the end of the video file. Instead - an invalid strip is created that has no length, and putting the playhead after it crashes Olive.
Steps to Reproduce
Crash Report
Additional Information