Commit 6798d2cf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix vout_ReleaseWindow invocation

parent 6372f8fa
......@@ -825,8 +825,7 @@ int vout_vaControlDefault( vout_thread_t *p_vout, int i_query, va_list args )
{
case VOUT_REPARENT:
case VOUT_CLOSE:
if( p_vout->p_window )
vout_ReleaseWindow( p_vout->p_window, NULL );
vout_ReleaseWindow( p_vout, NULL );
return VLC_SUCCESS;
case VOUT_SNAPSHOT:
......
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