[vlmc-devel] commit: Fix a deadlock when resizing a clip from its end. (Ludovic Fauvet )

git at videolan.org git at videolan.org
Fri Mar 19 11:49:04 CET 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Fri Mar 19 11:47:05 2010 +0100| [df91bdd03b86675943ddf55dedde6fed551df952] | committer: Ludovic Fauvet 

Fix a deadlock when resizing a clip from its end.

This time without introducing a regression.

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

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

diff --git a/src/Gui/timeline/AbstractGraphicsMediaItem.cpp b/src/Gui/timeline/AbstractGraphicsMediaItem.cpp
index 47cd576..e0302e1 100644
--- a/src/Gui/timeline/AbstractGraphicsMediaItem.cpp
+++ b/src/Gui/timeline/AbstractGraphicsMediaItem.cpp
@@ -274,7 +274,7 @@ void AbstractGraphicsMediaItem::adjustLength()
         return ;
     }
     Q_ASSERT( clip() );
-    resize( clip()->length() );
+    setWidth( clip()->length() );
 }
 
 bool AbstractGraphicsMediaItem::resizeZone( const QPointF& position )



More information about the Vlmc-devel mailing list