[vlc-devel] commit: Remove dummy input locking ( Rémi Denis-Courmont )

Laurent Aimar fenrir at via.ecp.fr
Wed Mar 4 23:34:18 CET 2009


On Wed, Mar 04, 2009, git version control wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  4 23:10:27 2009 +0200| [ae86adf422d2dd734a662c36c1be5893dc00b0cf] | committer: Rémi Denis-Courmont 
> 
> Remove dummy input locking
> 
> Contrary to commit 719f12a6 log, input_GetItem() does not check for a
 The only thing needed when using input_GetItem is that input_thread_t
is referenced as long as the return value is used. You could also 
increase the refcount of the returned value just before the input release
(and of course then release the item once unneeded).

-- 
fenrir



More information about the vlc-devel mailing list