Commit 4c8aaba1 authored by Rafaël Carré's avatar Rafaël Carré

Backport [3a8dc9aa]

parent 20c8be6a
...@@ -181,18 +181,17 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -181,18 +181,17 @@ static void RunIntf( intf_thread_t *p_intf )
msg_Dbg( p_intf, "CMML intf initialized" ); msg_Dbg( p_intf, "CMML intf initialized" );
#endif #endif
/* if video output is dying, disassociate ourselves from it */
if( p_vout && p_vout->b_die )
{
var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf );
vlc_object_release( p_vout );
p_vout = NULL;
}
/* Main loop */ /* Main loop */
while( !p_intf->b_die ) while( !p_intf->b_die )
{ {
/* if video output is dying, disassociate ourselves from it */
if( p_vout && p_vout->b_die )
{
var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf );
vlc_object_release( p_vout );
p_vout = NULL;
}
/* find a video output if we currently don't have one */ /* find a video output if we currently don't have one */
if( p_vout == NULL ) if( p_vout == NULL )
{ {
......
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