[vlc-devel] [PATCH 06/11] playlist/directory: attach slaves to input items

Thomas Guillem thomas at gllm.fr
Tue Apr 5 18:53:17 CEST 2016


On Tue, Apr 5, 2016, at 10:17, Rémi Denis-Courmont wrote:
> Le 2016-04-05 08:22, Steve Lhomme a écrit :
> > What is the issue here ? Do we want to avoid false positive slaves or
> > false negative salves ? I'd assume we want to avoid false positive 
> > and
> > a basic string comparison avoids that.
> 
> strcmp() on URIs is subject to both false positives and false 
> negatives.

What about doing a comparaison of p_item->psz_name (only if it has an
extension) ?

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list