[vlc-devel] [PATCH 1/2] Sepia video filter

Rémi Denis-Courmont remi at remlab.net
Wed Nov 17 12:02:57 CET 2010


On Wed, 17 Nov 2010 09:33:38 +0100, Rémi Duraffort <ivoire at videolan.org>
wrote:
> You don't need to check for psz_var to be CFG_PREFIX "intensity". You
> registered only one callback so it will always be this variable.
> Moreover if you remove this spurious strcmp you can use a spin_lock
> which is way faster in this case.

An atomic variable is even faster.
-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list