[vlmc-devel] commit: timeline: fix a crash when moving two linked clip (Ludovic Fauvet )
git at videolan.org
git at videolan.org
Sat Mar 13 16:53:37 CET 2010
vlmc | branch: 0.0.1-bugfix | Ludovic Fauvet <etix at l0cal.com> | Sat Mar 13 16:37:23 2010 +0100| [f9c7c3895902c28d86127e1d4b4f177f34dc2c6d] | committer: Hugo Beauzee-Luyssen
timeline: fix a crash when moving two linked clip
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=f9c7c3895902c28d86127e1d4b4f177f34dc2c6d
---
src/Gui/timeline/TracksView.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 1802ca8..28b86af 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -422,12 +422,12 @@ TracksView::moveMediaItem( AbstractGraphicsMediaItem *item, quint32 track, qint6
// Add missing tracks for the target
if ( item->groupItem()->mediaType() == MainWorkflow::AudioTrack )
{
- while ( item->trackNumber() >= m_numAudioTrack )
+ while ( p.track() >= m_numAudioTrack )
addAudioTrack();
}
else if ( item->groupItem()->mediaType() == MainWorkflow::VideoTrack )
{
- while ( item->trackNumber() >= m_numVideoTrack )
+ while ( p.track() >= m_numVideoTrack )
addVideoTrack();
}
More information about the Vlmc-devel
mailing list