Commit 3a8dc9aa authored by Rafaël Carré's avatar Rafaël Carré

Check properly if vout is dying - CID 7

parent c8075f35
......@@ -188,6 +188,9 @@ static void RunIntf( intf_thread_t *p_intf )
msg_Dbg( p_intf, "CMML intf initialized" );
#endif
/* Main loop */
while( !p_intf->b_die )
{
/* if video output is dying, disassociate ourselves from it */
if( p_vout && p_vout->b_die )
{
......@@ -196,10 +199,6 @@ static void RunIntf( intf_thread_t *p_intf )
p_vout = NULL;
}
/* Main loop */
while( !p_intf->b_die )
{
/* find a video output if we currently don't have one */
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