Bug 356345 - Buggy interaction between "Fade from black" and "Fade in" effect: the second one will have incorrect duration if clip was cut on left side
Summary: Buggy interaction between "Fade from black" and "Fade in" effect: the second ...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-06 23:32 UTC by qubodup
Modified: 2015-12-14 21:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 15.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qubodup 2015-12-06 23:32:44 UTC
catalyst-libgl 15.11-1
ffmpeg 1:2.8.3-1
ffmpeg-compat 1:0.10.16-4
mlt 0.9.8-3
qt5-base 5.5.1-3
xorg-server 1.16.4-1
v15.11.90-54-gf02bb01
* master

Steps to reproduce:
1. Start kdenlive
2. Add video clip with audio
3. Drag video to timeline
4. Cut the clip in the timeline and ignore the left part from now on
5. Drag both fade from black and fade in effects onto the clip

Expected result:
1. Both effects have the default duration value (3s)

Actual result:
1. The second effect to be dragged in has the value of 3s + the time value at which point in the video clip's duration the clip was cut

Video: https://youtu.be/g3TQMCKLvz0

Wild theory: both effects use same variable names which cause unwanted interaction between them when both effects are used on the same clip.
Comment 1 Jean-Baptiste Mardelle 2015-12-08 22:48:27 UTC
Git commit 4cc50c9cd83875fffc6514ea1f1470329a52c96a by Jean-Baptiste Mardelle.
Committed on 08/12/2015 at 22:48.
Pushed by mardelle into branch 'Applications/15.12'.

Fix second fade effect starting with wrong duration

M  +8    -4    src/mltcontroller/effectscontroller.cpp

http://commits.kde.org/kdenlive/4cc50c9cd83875fffc6514ea1f1470329a52c96a