Commit 2bf086a0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Fix the non-updating MediaInfo bug, introduced by my mistake.

Thanks to Hannes Domani, to have seen it.
parent eda0b58b
...@@ -130,8 +130,8 @@ void MediaInfoDialog::setInput( input_item_t *p_input ) ...@@ -130,8 +130,8 @@ void MediaInfoDialog::setInput( input_item_t *p_input )
void MediaInfoDialog::update() void MediaInfoDialog::update()
{ {
/* Timer runs at 150 ms, dont' update more than 2 times per second */ /* Timer runs at 150 ms, dont' update more than 2 times per second */
if( i_runs % 4 != 0 ) return;
i_runs++; i_runs++;
if( i_runs % 4 != 0 ) return;
/* Get Input and clear if non-existant */ /* Get Input and clear if non-existant */
input_thread_t *p_input = input_thread_t *p_input =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment