[MPlayer-dev-eng] [PATCH] Case INsensitive for file extensions

Daniel Balog (Rivermen) daniel.balog at rivermen.se
Thu Aug 15 10:10:49 CEST 2002


No because this would give problems when A.MPG and a.mpg are in the same directory / filelist....

-----Ursprungligt meddelande-----
Från: Alexander Neundorf [mailto:neundorf at dellingsoft.de]
Skickat: den 15 augusti 2002 06:56
Till: mplayer-dev-eng at mplayerhq.hu
Ämne: Re: [MPlayer-dev-eng] [PATCH] Case INsensitive for file extensions


On Wednesday 14 August 2002 20:18, you wrote:
> Hello
>
> First of all, thanx to all you hard working guys for this wonderful
> player... :-)
>
> Attached below is a small patch which enables the Mplayer GUI to list
> files with both upper and lower case file extensions (and permutations
> thereof).
>
> Regards
>
> Morten Volden

Don't know how the actual code works, but wouldn't it be simpler to store all 
extension in lower case and then convert the filenames into lowercase before 
comparing ?

Bye
Alex
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list