Take a "slideshow" clip that consists of exactly 24+1 frame images and that has been rendered out from an animation tool. Add this to your project. Now, you want to add two zones from this clip to your project bin: frames 0-11 (inclusive), and frames 12-23 (inclusive). Setting in point to 0 and out point to 0:0:0:11 is no problem: Ctrl-I adds a zone that's 12 frames long, as set. Next, set the in point to 0:0:0:12 and out to 0:0:0:23. Ctrl-I now adds a zone that's only *11* frames in size. Check by dragging the zone from the *project bin* into the timeline. Also check in the project XML file: first clipzone is 0;12, while second clipzone is only 12;23 instead of 12;24. In contrast, when you directly drag the 12 frames zone from the *clip monitor* into the timeline, the resulting clip will be 12 frames long, as set using the in and out point. Looks like some off-by-one issue with the out point near or at the end of a clip. I remember having discussed that before in the context of advanced editing functions. So now we have a real-world example from a current project of mine where I need to set the out point correctly to the last frame. Reproducible: Always
Git commit 93a7dc89241026a9788a7ed0838c80cff5fcad91 by Jean-Baptiste Mardelle. Committed on 19/06/2016 at 16:48. Pushed by mardelle into branch 'master'. Fix one frame offset in clip monitor selection M +3 -11 src/monitor/monitor.cpp M +1 -2 src/renderer.cpp M +2 -2 src/timeline/customtrackview.cpp http://commits.kde.org/kdenlive/93a7dc89241026a9788a7ed0838c80cff5fcad91
Looks okay to me, thank you very much for fixing this!