[vlc-devel] VLCKit Build failures

Toralf Niebuhr gmthor85 at aim.com
Wed Feb 3 16:40:13 CET 2010


Hi

I was wandering why the function libvlc_media_new has no exception parameter anymore?
Is it not needed anymore?
So is it safe to change the following code from

        libvlc_exception_t ex;
        libvlc_exception_init(&ex);

        p_md = libvlc_media_new([VLCLibrary sharedInstance],
                                           [[anURL absoluteString] UTF8String],
                                           &ex);
        catch_exception(&ex);

to

        p_md = libvlc_media_new([VLCLibrary sharedInstance],
                                           [[anURL absoluteString] UTF8String]);

if so. I would be glad to patch it.


Toralf Niebuhr=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100203/88dd5a43/attachment.html>


More information about the vlc-devel mailing list