* This header provides a portable threads implementation.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: threads.h,v 1.30 2001/11/29 10:20:56 massiot Exp $
+ * $Id: threads.h,v 1.31 2001/12/03 13:58:59 massiot Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
if( (i_result = pthread_cond_timedwait( p_condvar, p_mutex, &timeout )) )
{
- intf_ErrMsg( "thread %d warning: Possible deadlock detected in cond_wait at %s:%d (%s)",
- pthread_self(), psz_file, i_line, strerror(i_result) );
+ intf_WarnMsg( 1, "thread %d warning: Possible deadlock detected in cond_wait at %s:%d (%s)",
+ pthread_self(), psz_file, i_line, strerror(i_result) );
}
else
{
* vout_xvideo.c: Xvideo video output display method
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: vout_xvideo.c,v 1.32 2001/11/28 15:08:06 massiot Exp $
+ * $Id: vout_xvideo.c,v 1.33 2001/12/03 13:58:59 massiot Exp $
*
* Authors: Shane Harper <shanegh@optusnet.com.au>
* Vincent Seguin <seguin@via.ecp.fr>
int i_dest_width, i_dest_height;
int i_dest_x, i_dest_y;
- if( !p_vout->p_sys->p_xvimage )
+ if( !p_vout->p_sys->p_xvimage || !p_vout->p_rendered_pic )
{
return;
}