* vout_xvideo.c: Xvideo video output display method
*****************************************************************************
* Copyright (C) 1998, 1999, 2000, 2001 VideoLAN
- * $Id: vout_xvideo.c,v 1.14 2001/05/06 18:32:30 stef Exp $
+ * $Id: vout_xvideo.c,v 1.18 2001/05/30 17:03:12 sam Exp $
*
* Authors: Shane Harper <shanegh@optusnet.com.au>
* Vincent Seguin <seguin@via.ecp.fr>
#include <sys/ipc.h>
#endif
+#ifndef WIN32
+#include <netinet/in.h> /* BSD: struct in_addr */
+#endif
+
#include <sys/shm.h> /* shmget(), shmctl() */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "threads.h"
#include "mtime.h"
#include "tests.h"
-#include "modules.h"
#include "video.h"
#include "video_output.h"
#include "stream_control.h" /* needed by input_ext-intf.h... */
#include "input_ext-intf.h"
+#include "modules.h"
+#include "modules_export.h"
#define GUID_YUV12_PLANAR 0x32315659
/* Other event */
else
{
- intf_WarnMsg( 1, "%p -> unhandled event type %d received",
+ intf_WarnMsg( 3, "%p -> unhandled event type %d received",
p_vout, xevent.type );
}
}
(p_vout->p_sys->p_xvimage->data_size) /
(p_vout->p_sys->p_xvimage->height);
- /* vout_SetBuffers( p_vout, p_vout->p_sys->p_xvimage->data ); */
+ /* p_vout->pf_setbuffers( p_vout, p_vout->p_sys->p_xvimage->data ); */
}
return( 0 );
*h = win_w * 9 / 16;
break;
- case AR_221_1_PICTURE:
+ case AR_221_1_PICTURE:
*h = win_w * 100 / 221;
break;