Bug 494954

Summary: After changing the FPS for the project, the audio track of the sequence shrinks in size
Product: [Applications] kdenlive Reporter: Vit <3dvits>
Component: Timeline & EditingAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.08.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video demonstration

Description Vit 2024-10-17 19:31:33 UTC
Created attachment 174959 [details]
Video demonstration

Having the child sequence in a parent sequence, changing the project frame rate, and waiting for it to transcode, results in an audio track of the child sequence changing its size. It looks like Kdenlive caches the number of frames needed for the strip, and after the changes, it gets stuck on that size in frames, instead of updating the strip to its correct size. 
It shrinks even if the strip is deleted and placed back on the same track. You can place it into the other track, and it looks OK. But as soon as you place it into the same one, the size changes.


STEPS TO REPRODUCE
1) Create a project with a sequence and a video/audio track combo. 
2) Add a child sequence into the parent and save the project.
3) Go to the project settings and change the video settings for the one, with a different frame rate. 
4) Check the sequence audio track length 

OBSERVED RESULT
After changing the FPS for the project, the audio track of the sequence shrinks in size

EXPECTED RESULT
The length of the audio track must be updated according to the length of the original 

SOFTWARE/OS VERSIONS
Manjaro Linux/Cinnamon: 
Linux expert 6.1.112-1-MANJARO