Commit 2f3a4ede authored by Damien Fouilleul's avatar Damien Fouilleul

skins2: there's no need to reparent a vout before closing it (moreover setting...

skins2: there's no need to reparent a vout before closing it (moreover setting 0 as the parent does not disable it, as on win32 0 is a valid parent, it's the desktop window)
parent f826de63
...@@ -225,8 +225,7 @@ void VlcProc::dropVout() ...@@ -225,8 +225,7 @@ void VlcProc::dropVout()
{ {
if( m_pVout ) if( m_pVout )
{ {
if( vout_Control( m_pVout, VOUT_REPARENT, 0 ) != VLC_SUCCESS ) vout_Control( m_pVout, VOUT_CLOSE );
vout_Control( m_pVout, VOUT_CLOSE );
m_pVout = NULL; m_pVout = 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