[vlc-devel] [PATCH] Open Sound Control support using liblo
Nicholas J Humfrey
njh at aelius.com
Tue Dec 30 01:45:20 CET 2008
On 29 Dec 2008, at 21:17, Rémi Denis-Courmont wrote:
> Le lundi 29 décembre 2008, Nicholas J Humfrey a écrit :
>> I see from doxygen that there used to be a vlc_threadobj() function.
>> Why was this removed? I guess there is a danger of getting lazy and
>> abusing it but this is exactly what I am going to need to
>> implement...
>
> Not all threads belong to an object in 1.0, so this wouldn't make
> sense
> anymore. Besides, vlc_threadobj() was only ever used within the core
> for debugging.
I have uploaded new versions of the patches, which now use thread-
local variables to store the vlc object structure.
http://www.aelius.com/njh/tmp/vlc-git+liblo.patch
http://www.aelius.com/njh/tmp/vlc-0.9.8a+osc.patch
The ErrorHandler can quickly be tested by using a low OSC port number:
./bin/vlc --plugin-path=./modules --control osc --osc-port 10
VLC media player 1.0.0-git Goldeneye
[0x972c030] osc interface error: liblo error 13: 'Permission denied'
at 'bind()'
[0x972c030] osc interface error: liblo initialisation failed
[0x972c030] main interface error: no suitable interface module
[0x96768d0] main libvlc error: interface "osc,none" initialization
failed
[0x96768d0] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
nick.
More information about the vlc-devel
mailing list