Incorrect clip offset and duration
This is an old bug where the clip's start and end points are shifted relative to what is selected in the editor. The client sends correct offset/duration data but on the server side the fractional part is discarded.
Steps to reproduce:
- Open the clip editor.
- Move the start point to the very beginning of the timeline and then shift it slightly forward by less than one second.
- Extend the clip to one minute and slightly move the end point, for example, to a clip duration of 59.9 seconds.
Result:
- The resulting clip has a duration of exactly 59.0 seconds and starts exactly at the beginning.
Previously, it was possible to create a clip with some margin and then edit it to get an exact clip. However, after a recent editor update, the editor always loads the original 1.5 minute segment, making it impossible to create a precise clip. Additionally, the API shows the correct clip duration, and if you reopen the editor the preview will be correct. This means the bug affects the final render only.