<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Here is what I've done.</FONT></DIV>
<DIV><FONT face=Arial size=2>in the libvlc.h :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#define VIDEO_X_TEXT N_("Video-x")<BR>#define
VIDEO_X_LONGTEXT N_( \<BR> "You can define the position of the
video window here - x parameter.") </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#define VIDEO_Y_TEXT N_("Video-y")<BR>#define
VIDEO_Y_LONGTEXT N_( \<BR> "You can define the position of the
video window here - y parameter.") </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>add_integer( "video-x", 0, NULL, VIDEO_X_TEXT,
VIDEO_X_LONGTEXT, VLC_TRUE );<BR>add_integer( "video-y", 0, NULL, VIDEO_Y_TEXT,
VIDEO_Y_LONGTEXT, VLC_TRUE );</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>then in the directx/events.c file :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> /*Add variables to indicate the
position of the video display */<BR> var_Create( p_vout, "video-x",
VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );<BR> var_Create( p_vout, "video-y",
VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );<BR> int video_x = var_Get( p_vout,
"video-x", &val );<BR> int video_y = var_Get( p_vout, "video-y",
&val );</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>followed by :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/* Create the window
*/<BR> p_vout->p_sys->hwnd
=<BR>
CreateWindow( "VLC
DirectX",
/* name of window class
*/<BR>
VOUT_TITLE " (DirectX Output)", /* window title bar text
*/<BR>
WS_OVERLAPPEDWINDOW | WS_SIZEBOX | WS_VISIBLE
|<BR>
WS_CLIPCHILDREN,
/* window style
*/<BR>
video_x,
/* X coordinate
*/<BR>
video_y,
/* Y coordinate
*/<BR>
rect_window.right - rect_window.left, /* window width
*/<BR>
rect_window.bottom - rect_window.top, /* window height
*/<BR>
NULL,
/* no parent window
*/<BR>
NULL,
/* no menu in this window
*/<BR>
hInstance,
/* handle of this program instance
*/<BR>
(LPVOID)p_vout );
/* send p_vout to WM_CREATE */<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>>>>>>>>>> It compiles
without error. I can also give the command line parameter --video-x 100
--video-y 300 !! BUT it doesn't effect on the position of the VLC player and it
stays at the default position xy 0 0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any clue ??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>************************************************************<BR>HORNSBY
Adrian<BR>Teräskatu 7 D 67 <BR>33720 Tampere<BR>FINLAND</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#Tel :+358 (0)456376712<BR><A
href="http://www.students.tut.fi/~hornsby/">http://www.students.tut.fi/~hornsby/</A><BR>************************************************************</FONT></DIV></BODY></HTML>