]> git.sesse.net Git - vlc/commitdiff
Qt4 - Use >= instead of == in loopA-B (thanks funman)
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 11 Nov 2007 03:26:09 +0000 (03:26 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 11 Nov 2007 03:26:09 +0000 (03:26 +0000)
modules/gui/qt4/components/interface_widgets.cpp

index c5f1246ad4222209161dec5326d49fe77414f698..29fee59f39326fa93405abfeb985a8c185038f53 100644 (file)
@@ -309,17 +309,18 @@ void AdvControlsWidget::fromAtoB()
     timeB = 0;
     ABButton->setText( "AB" );
 }
-   
+
 void AdvControlsWidget::record(){}
 
 void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
 {
     if( timeB )
     {
-        if( i_time == (int)(timeB/1000000) )
+        if( i_time >= (int)(timeB/1000000) )
             var_SetTime( THEMIM->getInput(), "time" , timeA );
     }
 }
+
 /*****************************
  * DA Control Widget !
  *****************************/