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

Branko Kokanovic branko.kokanovic at gmail.com
Thu Nov 18 22:47:35 CET 2010

Thanks for quick responses. Here is patch 1/2 again, with spinlock. GUI
patch stays the same.

Greetings, Kokan

On 17.11.2010. 12:02, Rémi Denis-Courmont wrote:
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Sepia-video-filter.patch
Type: text/x-patch
Size: 22931 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101118/2e713b37/attachment.bin>

More information about the vlc-devel mailing list