[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdenlive/next] src: fades ui: video instead of audio on AV clips
From:       Vincent PINON <vincent.pinon () laposte ! net>
Date:       2014-04-30 20:27:59
Message-ID: E1Wfb6l-0003AX-LT () scm ! kde ! org
[Download RAW message or body]

Git commit f421ec3baa2c5535c7f8c0301acf65b0b08ca6db by Vincent PINON.
Committed on 02/02/2014 at 20:53.
Pushed by vpinon into branch 'next'.

fades ui: video instead of audio on AV clips

M  +2    -2    src/customtrackview.cpp

http://commits.kde.org/kdenlive/f421ec3baa2c5535c7f8c0301acf65b0b08ca6db

diff --git a/src/customtrackview.cpp b/src/customtrackview.cpp
index 6c24857..56508d1 100644
--- a/src/customtrackview.cpp
+++ b/src/customtrackview.cpp
@@ -4158,7 +4158,7 @@ void CustomTrackView::mouseReleaseEvent(QMouseEvent * event)
             }
         } else if (item->fadeIn() != 0 && ix2 == -1) {
             QDomElement effect;
-            if (item->isVideoOnly() || (item->clipType() != Audio && \
item->clipType() != AV && item->clipType() != Playlist)) { +            if \
(item->isVideoOnly() || (item->clipType() != Audio /* && item->clipType() != AV */ && \
item->clipType() != Playlist)) {  // add video fade
                 effect = MainWindow::videoEffects.getEffectByTag("", \
                "fade_from_black").cloneNode().toElement();
             } else effect = MainWindow::audioEffects.getEffectByTag("volume", \
"fadein").cloneNode().toElement(); @@ -4202,7 +4202,7 @@ void \
CustomTrackView::mouseReleaseEvent(QMouseEvent * event)  }
         } else if (item->fadeOut() != 0 && ix2 == -1) {
             QDomElement effect;
-            if (item->isVideoOnly() || (item->clipType() != Audio && \
item->clipType() != AV && item->clipType() != Playlist)) { +            if \
(item->isVideoOnly() || (item->clipType() != Audio /* && item->clipType() != AV */ && \
item->clipType() != Playlist)) {  // add video fade
                 effect = MainWindow::videoEffects.getEffectByTag("", \
                "fade_to_black").cloneNode().toElement();
             } else effect = MainWindow::audioEffects.getEffectByTag("volume", \
"fadeout").cloneNode().toElement();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic