[vlc-devel] [PATCH] VDR recording detection

Jean-Baptiste Kempf jb at videolan.org
Thu Dec 15 13:48:54 CET 2011


On Thu, Dec 15, 2011 at 01:41:05PM +0100, Rémi Denis-Courmont wrote :
> On Thu, 15 Dec 2011 13:06:49 +0100, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
> > On Thu, Dec 15, 2011 at 12:52:15PM +0100, Tobias Güntner wrote :
> >> This patch changes the detection of VDR recordings. I removed the check
> >> for index and meta data files because neither is required for playback
> >> as far as VLC is concerned.
> > 
> > It seems to me that the check is now more complex and slower, no?
> 
> To me, it looks like it should be a lot faster. At least sscanf() should
> be a lot faster than stat().

OK, but I thought that the check with strcasecmp on ".rec" made it
faster.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list