[vlc-devel] vlc: svn commit r19424 (dionoea)

Subversion daemon svn at videolan.org
Sat Mar 24 17:02:52 CET 2007

r19424 | dionoea | 2007-03-24 17:02:51 +0100 (Sat, 24 Mar 2007) | 24 lines
Changed paths:
   M /trunk/include/vlc_objects.h
   M /trunk/modules/control/rc.c
   M /trunk/src/misc/modules.c
   M /trunk/src/misc/objects.c

* Make it possible to give names to vlc objects (psz_object_name
already existed but was only used by modules as far as is know). This
is done in the module_Need function. Needed module names now have this
syntax: '<module>[@<name>]'. If the @<name> part is present, once the
needed module is found it will change p_this->psz_object_name to <name>.
In about 99% of the module_Need calls, p_this is the module's parent
object so this is ok. The remaining calls won't use this syntax so it's
ok i guess :)

* Add new vlc_object_find_name function. It works like vlc_object_find
but uses a string (name) instead of an integer (type) as its second

* Change the marq, mosaic and logo commands in rc.c. They now take the
target object's name as first argument. Example:

Launch vlc with:
./vlc -I rc --no-audio --sub-filter "marq at test{marquee=Hello}:marq at testouille{marquee=Test}" ~/media/redefined-nintendo.mpg

Then issue the following command to move the second marq:
marq-x testouille 100

(and while testing I fixed #745)

 > http://trac.videolan.org/vlc/changeset/19424

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list