<div dir="ltr"><div>><span style="font-family:arial,sans-serif;font-size:13px">Not sure why you to get the playlist pointer from a video filter, but that's</span></div><span style="font-family:arial,sans-serif;font-size:13px">perhaps not the best way to achieve what you want.</span><div><br></div><div>My VLC 2.1.x module listens for mouse clicks over the video picture (thus video filter2) and pauses/resumes current playlist item is there is a mouse click.</div><div>Here is the module source <a href="https://github.com/nurupo/vlc-pause-click-plugin/blob/master/pause_click.c">https://github.com/nurupo/vlc-pause-click-plugin/blob/master/pause_click.c</a></div><div><br></div><div>I wanted to send it on review for adding into VLC source tree, but that requires it to be compatible with the master branch of git repository (VLC 3.0.0) and I have hard time porting it to VLC 3.x because of the API change I mentioned before.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 28, 2014 at 10:30 AM, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le dimanche 28 septembre 2014, 04:03:36 nurupo contributions a écrit :<br>
<span class="">> In VLC 3.0.0 pl_Get(...) has changed its argument type from vlc_object_t*<br>
> to intf_thread_t*, because of which my "video filter2" category module now<br>
> needs to also be of "interface" category, in order to get a hold of<br>
> intf_thread_t* for pl_Get(...).<br>
<br>
</span>Not sure why you to get the playlist pointer from a video filter, but that's<br>
perhaps not the best way to achieve what you want.<br>
<br>
Notably there is a clear need to pass the current input item to the outputs<br>
and filters. But the hypothetical method to address that requirement ought to<br>
not involve the playlist in any way, if only because the playlist is not even<br>
necessarily present.<br>
<span class=""><br>
> Is there a way to have a single option in Preferences that would<br>
> enable/disable both the module and the submodule?<br>
<br>
</span>Not currently.<br>
<span class=""><br>
> Or, perhaps, there is some other way to call pl_Get(...) from a "video<br>
> filter2" category module?<br>
<br>
</span>No, and there should not be IMNSHO.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<br>
</font></span></blockquote></div><br></div>