[vlmc-devel] commit: timeline: fix a bug where two clips could overlap (Ludovic Fauvet )

git at videolan.org git at videolan.org
Sat Mar 13 18:15:05 CET 2010


vlmc | branch: 0.0.1-bugfix | Ludovic Fauvet <etix at l0cal.com> | Sat Mar 13 17:40:07 2010 +0100| [ad084a4a0a017b8d20039ef05e4663e9d6a6ff77] | committer: Ludovic Fauvet 

timeline: fix a bug where two clips could overlap

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=ad084a4a0a017b8d20039ef05e4663e9d6a6ff77
---

 src/Gui/timeline/TracksView.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 28b86af..7b262aa 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -476,7 +476,7 @@ TracksView::moveMediaItem( AbstractGraphicsMediaItem *item, quint32 track, qint6
         if ( p.isValid() )
         {
             item->setStartPos( p.time() );
-            item->setParentItem( getTrack( item->mediaType(), track ) );
+            item->setParentItem( getTrack( item->mediaType(), p.track() ) );
         }
     }
 }



More information about the Vlmc-devel mailing list