[vlc-devel] [PATCH 2/2] ActiveX: MRL property now can be used at any time (setting new value will replace playlist content on next "play")

Sergey Radionov rsatom at gmail.com
Mon Aug 1 14:35:37 CEST 2011


2011/8/1 Jean-Baptiste Kempf <jb at videolan.org>

> On Mon, Aug 01, 2011 at 10:41:39AM +0700, Sergey Radionov wrote :
> >
>
> Same question as above, for checking of existence.
>
I am think a little bit, and if MRL patch will be appled, then

+    //In some cases, libvlc may not have been initialized yet.
+    //So check it and initialize if needed (in getVLC())
+    libvlc_instance_t* p_libvlc;
+    HRESULT hr = getVLC(&p_libvlc);
+    if( FAILED(hr) || !p_libvlc)
+        return false;

in playlist_select will not be needed anymore (but in checkMRL it
needed anyway), so I will remade MRL patch right now.




>
> Be careful to add spaces after and before // for comments.
>
> Best Regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110801/ce6ec792/attachment.html>


More information about the vlc-devel mailing list