*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
if( !p_intf->psz_switch_intf )
{
if( vout_Control( p_vout, VOUT_CLOSE ) != VLC_SUCCESS )
- vout_Control( p_vout, VOUT_REPARENT );
+ vout_Control( p_vout, VOUT_REPARENT, 0 );
}
else
{
- if( vout_Control( p_vout, VOUT_REPARENT ) != VLC_SUCCESS )
+ if( vout_Control( p_vout, VOUT_REPARENT, 0 ) != VLC_SUCCESS )
vout_Control( p_vout, VOUT_CLOSE );
}
}
if( p_vout )
{
vlc_mutex_unlock( &lock );
- msg_Dbg( p_intf, "Video window already in use" );
+ msg_Dbg( p_intf, "video window already in use" );
return NULL;
}
unsigned int i_width = va_arg( args, unsigned int );
unsigned int i_height = va_arg( args, unsigned int );
- vlc_mutex_lock( &lock );
if( !i_width && p_vout ) i_width = p_vout->i_window_width;
if( !i_height && p_vout ) i_height = p_vout->i_window_height;
- vlc_mutex_unlock( &lock );
/* Update dimensions */
wxSizeEvent event( wxSize( i_width, i_height ), UpdateSize_Event );