* intf_glide.c: 3dfx interface plugin
*****************************************************************************
* Copyright (C) 2000 VideoLAN
+ * $Id: intf_glide.c,v 1.6 2001/01/05 18:46:43 massiot Exp $
*
* Authors:
*
#include "defs.h"
#include <stdlib.h> /* malloc(), free() */
-#include <sys/types.h> /* on BSD, uio.h needs types.h */
-#include <sys/uio.h> /* for input.h */
#include <linutil.h> /* Glide kbhit() and getch() */
#include "config.h"
#include "mtime.h"
#include "plugins.h"
-#include "input.h"
+#include "stream_control.h"
+#include "input_ext-intf.h"
+
#include "video.h"
#include "video_output.h"
p_intf->p_vout = vout_CreateThread( NULL, 0, 0, 0, NULL, 0, NULL );
if( p_intf->p_vout == NULL ) /* error */
{
- intf_ErrMsg("intf error: can't create output thread\n" );
+ intf_ErrMsg("intf error: can't create output thread" );
return( 1 );
}
}
{
if( intf_ProcessKey(p_intf, (int)buf = getch()) )
{
- intf_ErrMsg( "unhandled key '%c' (%i)\n", (char) buf, buf );
+ intf_ErrMsg( "unhandled key '%c' (%i)", (char) buf, buf );
}
}
}