]> git.sesse.net Git - vlc/commit
libvlc: refactor sfilter enabling/disabling
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 25 Mar 2014 12:50:34 +0000 (13:50 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Sun, 11 May 2014 09:35:25 +0000 (11:35 +0200)
commit93900cd71aff74d4eec617d8f87be97427f83101
tree91a420ec14425817dccfdab46aeb2010340e75f7
parent7513dc81aefeb5ea26ecfe6bcaab7494bb6aafb6
libvlc: refactor sfilter enabling/disabling

Refactor sfilter enabling and disabling. One glitch stays present:
A user needs to call libvlc_{logo,marq,adjust}_int{ p_mi, libvlc_{logo,marq,adjust}_Enable, twice initially. Once before setting options to get module to load and second after setting options. After this Enabling/Disabling works as expected.
NOTE: when changing an option one MUST call
libvlc_{logo,marq,adjust}_int{ p_mi, libvlc_{logo,marq,adjust}_Enable, again.

The patch removes the dependency on the deprecated function vlc_object_find_name()
lib/video.c