Skip to content
Snippets Groups Projects
Commit b6407a66 authored by Alaric Senat's avatar Alaric Senat Committed by Pierre Lamot
Browse files

qt: custom-menus: add lock guards to player accessor

Fix a regression introduced by ec78dfa6
where the lock was forgotten.
parent 8dfba3ae
No related branches found
No related tags found
1 merge request!655qt: custom-menus: add lock guards to player accessor
Pipeline #141147 passed with stage
in 1 hour, 18 minutes, and 26 seconds
......@@ -74,8 +74,10 @@ RendererMenu::RendererMenu( QMenu *parent, qt_intf_t *p_intf_ )
addAction( action );
group->addAction(action);
vlc_player_Lock( p_intf_->p_player );
if ( vlc_player_GetRenderer( p_intf->p_player ) == nullptr )
action->setChecked( true );
vlc_player_Unlock( p_intf_->p_player );
addSeparator();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment