Bug 474139

Summary: Disabling clip discards stream index information
Product: [Applications] kdenlive Reporter: Bauke <bcmpinc>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bauke 2023-09-04 13:30:59 UTC
SUMMARY
***
Disabling a clip from a video that has multiple audio streams discards the audio stream information.
***


STEPS TO REPRODUCE
1. Add a video with two audio streams to the timeline
2. Right click the video → Disable Clip
3. Right click the video → Enable Clip

OBSERVED RESULT
At step 2: 
 - the number in front of the filename that indicates what audio stream is used disappears
 - the waveform of the second audio track changes to be the same as the first
At step 3: 
 - the second audio clip now use the first audio stream of the video

EXPECTED RESULT
At step 2: 
 - the filename still shows the audio stream indicator 
 - the waveform does not change
At step 3: 
 - the second audio clip still uses the second audio stream

SOFTWARE/OS VERSIONS
Kdenlive: 23.11.70 (from ppa:kdenlive/kdenlive-master)
Linux: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8