Commit 627eb87b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Don't update the messages more than needed.

This saves some CPU time.
parent caafdff1
...@@ -2339,6 +2339,8 @@ end: ...@@ -2339,6 +2339,8 @@ end:
{ {
int i_start, i_stop; int i_start, i_stop;
if(![o_msgs_panel isVisible]) return;
vlc_mutex_lock( p_intf->p_sys->p_sub->p_lock ); vlc_mutex_lock( p_intf->p_sys->p_sub->p_lock );
i_stop = *p_intf->p_sys->p_sub->pi_stop; i_stop = *p_intf->p_sys->p_sub->pi_stop;
vlc_mutex_unlock( p_intf->p_sys->p_sub->p_lock ); vlc_mutex_unlock( p_intf->p_sys->p_sub->p_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