[vlc-devel] How to record a stream

Jean-Baptiste Kempf jb at videolan.org
Wed Sep 16 14:19:09 CEST 2009


On Wed, Sep 16, 2009 at 02:16:10PM +0200, Olivier Aubert wrote :
> On Wed, 2009-09-16 at 12:06 +0200, Pierre d'Herbemont wrote:
> > > You mean to stop having every application/webplugin using libvlc to
> > > query the Windows registry to know what the plugins path is?
> > 
> >   On OS X we can trick dyld to get the path of libvlc. From here we  
> > can infer a module path. That should be more than enough in most cases.
> > I think that the python bindings just try the default installation  
> > path on Windows. I have no idea if we can do better.
> In fact, the python bindings first try without any arguments, then with
> the registry information, and as a last resort use the hardcoded
> "standard" path c:\\Program Files\\VideoLAN\\VLC\\libvlc.dll

OMG. c:\\Program Files is not standard.
It will break on every install of Windows 64bits and some early version
of Windows where this was translated.


Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list