https://bugs.kde.org/show_bug.cgi?id=375163

            Bug ID: 375163
           Summary: Playing sub clip zone to end shortens time ruler for
                    all sub clips and master clip
           Product: kdenlive
           Version: git-master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: mikko.rap...@iki.fi
  Target Milestone: ---

To reproduce:

 * start a new project
 * add a 5 second color clip
 * play color clip and set in at 1 seconds out at 2 seconds
 * press ctrl-i to add a sub clip
 * play color clip and set new in at 3 seconds out at 4 seconds
 * press cctrl-i to add a new sub clip

Now project has one clip with two sub clips.

 * Play zone of sub clip one with out at, ctrl space.
 * select sub clip two.
 * Try to play zone with ctrl space.

Notice how time ruler for all clips is now shortened to the end of the just
played zone. Thus playback of other zones or the main clip fails. With some
combination of play from start & play zone, it is possible to play beyond zone
end and if one waits for 5 seconds, then selecting another clip brings full 5
second back to visibility on time ruler.

I have been trying to understand the code in question but have failed so far.
Setting a break point to Monitor::adjustRulerSize shows a stack trace how
subclips out marker somehow propagatest to ruler size. Or this debug print:

@@ -1257,6 +1263,7 @@ void Monitor::rendererStopped(int pos)

 void Monitor::adjustRulerSize(int length, int offset)
 {
+    qDebug("%s, length = %d, offset = %d\n", __func__, length, offset);
     if (length > 0) {
         m_length = length;
     }


My workflow with kdenlive has been to load all clips and preprocess them in
clip bin with in and out points and possibly sub clips, which I then later
start to assemble to time line. Sadly this bug or bugs make the whole sub clip
feature usable and breaks my workflow when playback and adjustments to project
bin clips suddenly can no longer be done. Oh, and the problem persists over
project saves :(

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to