Commit e3ed7e40 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: inputstats: don't update if not visible

parent 1845e8c8
......@@ -569,6 +569,7 @@ InputStatsPanel::InputStatsPanel( QWidget *parent,
**/
void InputStatsPanel::update( input_item_t *p_item )
{
if ( !isVisible() ) return;
assert( p_item );
vlc_mutex_lock( &p_item->p_stats->lock );
......
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