* intf.c: interface for DVD video manager
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: intf.c,v 1.9 2003/10/29 01:33:27 gbazin Exp $
+ * $Id$
*
* Authors: Stéphane Borel <stef@via.ecp.fr>
*
else
{
/* still time elasped */
- input_SetStatus( p_intf->p_sys->p_input,
- INPUT_STATUS_PLAY );
+ var_SetInteger( p_intf->p_sys->p_input, "state", PLAYING_S );
p_intf->p_sys->m_still_time = 0;
p_intf->p_sys->b_still = 0;
mlast = 0;
}
if( !p_intf->p_sys->m_still_time )
{
- input_SetStatus( p_intf->p_sys->p_input,
- INPUT_STATUS_PLAY );
+ var_SetInteger( p_intf->p_sys->p_input, "state", PLAYING_S );
}
mlast = mtime;
}
if( i_activate && p_intf->p_sys->b_still )
{
- input_SetStatus( p_intf->p_sys->p_input, INPUT_STATUS_PLAY );
+ var_SetInteger( p_intf->p_sys->p_input, "state", PLAYING_S );
p_intf->p_sys->b_still = 0;
p_intf->p_sys->b_inf_still = 0;
p_intf->p_sys->m_still_time = 0;
if( i_activate && p_intf->p_sys->b_still )
{
- input_SetStatus( p_intf->p_sys->p_input, INPUT_STATUS_PLAY );
+ var_SetInteger( p_intf->p_sys->p_input, "state", PLAYING_S );
p_intf->p_sys->b_still = 0;
p_intf->p_sys->b_inf_still = 0;
p_intf->p_sys->m_still_time = 0;
{
vlc_mutex_lock( &p_intf->change_lock );
p_intf->p_sys->m_still_time = 0;
- input_SetStatus( p_intf->p_sys->p_input, INPUT_STATUS_PLAY );
+ var_SetInteger( p_intf->p_sys->p_input, "state", PLAYING_S );
vlc_mutex_unlock( &p_intf->change_lock );
return VLC_SUCCESS;