banshee r3802 - in branches/banshee/stable: . src/Core/Banshee.Base



Author: abock
Date: Sun Apr 20 02:59:48 2008
New Revision: 3802
URL: http://svn.gnome.org/viewvc/banshee?rev=3802&view=rev

Log:
2008-04-19  Aaron Bockover  <abock gnome org>

    * src/Core/Banshee.Base/BatchTranscoder.cs: Force the input file extension
    case to lower to ensure alternate wav transcoder table lookups will not
    fail when they should work (BNC #293774)



Modified:
   branches/banshee/stable/ChangeLog
   branches/banshee/stable/src/Core/Banshee.Base/BatchTranscoder.cs

Modified: branches/banshee/stable/src/Core/Banshee.Base/BatchTranscoder.cs
==============================================================================
--- branches/banshee/stable/src/Core/Banshee.Base/BatchTranscoder.cs	(original)
+++ branches/banshee/stable/src/Core/Banshee.Base/BatchTranscoder.cs	Sun Apr 20 02:59:48 2008
@@ -199,7 +199,8 @@
                 return;
             }
 
-            input_extension = input_extension.Substring(1); // remove the leading .
+            // remove leading . and normalize to lower for table lookup
+            input_extension = input_extension.Substring(1).ToLower();
             
             transcoder = default_transcoder;
             



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]