[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")
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel