]> git.sesse.net Git - vlc/commitdiff
Qt4 - Fix the non-updating MediaInfo bug, introduced by my mistake.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 3 Jul 2007 20:13:09 +0000 (20:13 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 3 Jul 2007 20:13:09 +0000 (20:13 +0000)
Thanks to Hannes Domani, to have seen it.

modules/gui/qt4/dialogs/mediainfo.cpp

index 731668a3e8e134d0a8de786d3762eec24c8be26a..5e2d8d5b2fb1846172698afa7d3288df82640ae5 100644 (file)
@@ -130,8 +130,8 @@ void MediaInfoDialog::setInput( input_item_t *p_input )
 void MediaInfoDialog::update()
 {
     /* Timer runs at 150 ms, dont' update more than 2 times per second */
-    if( i_runs % 4 != 0 ) return;
     i_runs++;
+    if( i_runs % 4 != 0 ) return;
 
     /* Get Input and clear if non-existant */
     input_thread_t *p_input =