I think it is normal. O<span id="result_box" class="short_text" lang="en"><span class="hps">therwise</span></span> we need call initVLC from too mach places (every toplevel interface function, which <span id="result_box" class="short_text" lang="en"><span class="hps">in any case</span></span> call playlist_select). So I prefer do it in one place, and <span id="result_box" class="short_text" lang="en"><span class="hps">in addition I protect code from potential future </span></span>mistakes (if some new function will be using playlist_select without initVLC).<br>
<br><div class="gmail_quote">2011/8/1 Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org">jb@videolan.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mon, Aug 01, 2011 at 10:40:57AM +0700, Sergey Radionov wrote :<br>
><br>
<br>
Is this normal to have to do this here?<br>
Could the beginning of this code be in some function to check and init?<br>
<br>
Best Regards,<br>
<font color="#888888"><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - +33 672 704 734<br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></blockquote></div><br>