[vlc-devel] [PATCH] GSoC: Expand SDs and MTP functionalities
ivoire at videolan.org
Tue Mar 31 16:57:47 CEST 2009
> > Hi,
> > I'm not sure that's a good idea to PL_UNLOCK and then use
> > pl_priv(p_playlist)->pp_sds[i]
> > Best regards.
> So, should I lock the playlist outside the function, or save the
> result and return it after unlocking?
I'm not sure but it seams that you have to lock the playlist as long as
you use the return value of playlist_ServiceDiscoveryGetById.
Rémi Duraffort | ivoire
More information about the vlc-devel