[vlc-devel] Re: creating a window positioning module

Hornsby Adrian adrian_hornsby at yahoo.co.uk
Tue Mar 16 13:39:44 CET 2004


Okay, i'm trying to make positionning for windows at the moment.
How can I use this positionning value as the
position when creating the video window. ?



Subject: [vlc-devel] Re: creating a window positioning module


> Vlc creates the video output window in each of the video output modules.
On
> windows the primary modules is the directx one, on linux it is the xvideo
one.
> directx is in modules/video_output/directx/*
> xvideo is in modules/video_output/x11/*
> other vout modules are also available in modules/video_output/*.
> On macos x the vout is in modules/gui/macosx for some strange reasone.
>
> I think the video windows in general are created in the Open() function of
> the module.
>
> Sigmund
>
>
> On Tue, Mar 16, 2004 at 01:22:39PM +0100, Hornsby Adrian wrote:
> > >> where does vlc create a new video window ? Is it in the
video_output.c in
> > the function vout_Create ??
> > how can I use the positionning value there ??
> >
> > Sent: Tuesday, March 16, 2004 10:45 AM
> > Subject: Re: creating a window positioning module
> >
> >
> > >
> > > Okay,
> > >
> > > I've been starting to modify the code in order to create a window
> > > positioning function.  I read the note you gave to the guy who tried.
> > >
> > > 1: create two config options "video-x" and "video-y" by add_integer at
the
> > > right place in src/libvlc.h
> > >
> > > >>>> I added those variables in :
> > > /*video option*/
> > > add_integer ("video_x", 0, NULL, VIDEO_X_TEXT, VIDEO_X_LONGTEXT,
> > VLC_TRUE);
> > > add_integer ("video_y", 0, NULL, VIDEO_Y_TEXT, VIDEO_Y_LONGTEXT,
> > VLC_TRUE);
> > >
> > > 2: modify the vout you will use to read the value of "video-x" and
> > "video-y"
> > > using var_Create( p_vout, "video-x",
VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
> > > followed by var_Get( p_vout, "video-x", &val );
> > >
> > > >>> i also added  var_Create( p_vout, "video-x",
> > > VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
> > > but where should I add the var_Get( p_vout, "video-x", &val );
> > >
> > > And use this value as the
> > > position when creating the video window.
> > >
> > > >>> How ? where ?
> > >
> > >
> > >
> > > Subject: Re: creating a window positioning module
> > >
> > >
> > > > Talke a look a this thread:
> > > > http://www.via.ecp.fr/via/ml/vlc-devel/200403/msg00013.html
> > > >
> > > > haven't heard from that guy since then, so it could be he gave up.
> > > >
> > > > Sigmund
> > > >
> > > >
> > > > On Tue, Mar 09, 2004 at 02:44:40PM +0100, Hornsby Adrian wrote:
> > > > > hi,
> > > > > I would like to modify or create a window positioning module as I
> > would
> > > need to be able to set up the position of the VLC player trough
command
> > > line. Can anybody tell me if somebody is already working on it or if
not,
> > we
> > > should I start ?
> > > > >
> > > > > adrian
> > > > >
> > > > > ************************************************************
> > > > > HORNSBY Adrian
> > > > > Technical University of Tampere
> > > > > Department of Signal Processing
> > > > > B.P -  F 314
> > > > > Tampere
> > > > > FINLAND
> > > > >
> > > > > #Tel :+358 (0)456376712
> > > > > ************************************************************
> > > >
> > > > -- 
> > > > This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> > > > To unsubscribe, please read
http://developers.videolan.org/lists.html
> > > > If you are in trouble, please contact <postmaster at videolan.org>
> > >
> > > -- 
> > > This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> > > To unsubscribe, please read http://developers.videolan.org/lists.html
> > > If you are in trouble, please contact <postmaster at videolan.org>
> >
> > -- 
> > This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> > To unsubscribe, please read http://developers.videolan.org/lists.html
> > If you are in trouble, please contact <postmaster at videolan.org>
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list