Hi all,<br><br>After some research and advices, i've made a new version, without using vlc_object_find_name or p_owner.<br>Before porting it to the master branch and sending a patch, i'd would like to know your opinion on what i did.<br>
<br>I added 3 variables and a callback inside aout (created in InputNew when projectm in created, destroyed in InputDelete, so that they should have the same lifecycle as projectm module).<br>I gave the p_filter to the callback at its creation.<br>
So libvlc set/get variables to the aout, then the aout callback set/get variables to the filter, and the filter react and do his job.<br>If projectm is not used, variables doesn't exists in the aout, so nothing happens.<br>
<br>I also added 3 settings to projectm module to set meshx, meshy and texturesize.<br><br>It seems stable so far. What do you think ?<br><br>I've tested this on the 1.1 branch, i hope it works the same way on 1.2 :/<br>
<br><div class="gmail_quote">On Fri, Dec 10, 2010 at 11:13 PM, XilasZ <span dir="ltr"><<a href="mailto:xilasz@gmail.com">xilasz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm not asking for detailled instructions, just directions is fine.<div class="im"><br><br>> In general though, control requests should be passed through the input thread, and then down the streaming pipeline as appropriate.<br>
<br></div>
Can it work both ways ?<br><br><div class="gmail_quote"><div class="im">2010/12/10 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><br><div><div></div><div class="h5">
On Fri, 10 Dec 2010 08:58:46 +0100, XilasZ <<a href="mailto:xilasz@gmail.com" target="_blank">xilasz@gmail.com</a>> wrote:<br>
> I know what deprecated means thanks ... I sent the patch anyway, hoping<br>
for<br>
> some advices from senior vlc devs, it seems i was wrong :/<br>
<br>
</div></div></div><div><div></div><div class="h5">My advise is to not use deprecated functions.<br>
<br>
I can't tell you a detailed solution to your problem since I have no clue<br>
how ProjectM works within VLC. In general though, control requests should<br>
be passed through the input thread, and then down the streaming pipeline as<br>
appropriate.<br>
<font color="#888888"><br>
--<br>
</font><div>Rémi Denis-Courmont<br>
<a href="http://www.remlab.net" target="_blank">http://www.remlab.net</a><br>
</div><div><a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div>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>
</div></div></div></div></blockquote></div><br>
</blockquote></div><br>