[vlmc-devel] commit: timeline: improve resizing experience (Ludovic Fauvet )

git at videolan.org git at videolan.org
Fri Mar 19 13:42:04 CET 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Fri Mar 19 13:41:02 2010 +0100| [45413cf33c65c2b830f34a435b0330f61ddd267a] | committer: Ludovic Fauvet 

timeline: improve resizing experience

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

 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 e0302e1..e36b578 100644
--- a/src/Gui/timeline/AbstractGraphicsMediaItem.cpp
+++ b/src/Gui/timeline/AbstractGraphicsMediaItem.cpp
@@ -219,7 +219,7 @@ void AbstractGraphicsMediaItem::resize( qint64 size, From from )
 
     if ( clip()->getMedia()->fileType() != Media::Image )
         if ( size > clip()->maxEnd() )
-            return;
+            size = clip()->maxEnd();
 
     if ( from == BEGINNING )
     {



More information about the Vlmc-devel mailing list