Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: utils/parse_testcodec.rb
===================================================================
--- utils/parse_testcodec.rb  (revision 28871)
+++ utils/parse_testcodec.rb  (arbetskopia)
@@ -51,7 +51,7 @@
                 self.codec = "Atrac3"
             when /true.+/
                 self.codec = "True Audio"
-            when /toolame.+/
+            when /toolame.+/, /pegase_l2.+/
                 self.codec = "MP2"
             when /atrack1.+/
                 self.codec = "Atrac1"
@@ -61,6 +61,8 @@
                 self.codec = "WMA Lossless"
             when /speex.+/
                 self.codec = "Speex"
+            when /pegase_l1.+/
+                self.codec = "MP1"
             else
                 self.codec = "CODEC UNKNOWN (#{name})"
         end
@@ -129,7 +131,7 @@
         test = Regexp.new(/[.\d]+MHz needed for realtime/)
         self.mhz_needed = nil
         if (text_block[5] != nil && text_block[5].length > 0)
-            self.mhz_needed = text_block[5].match(test)[1].to_f
+            self.mhz_needed = text_block[5].match(test)[0].to_f
         elsif (cpu_freq)
             # if not given, calculate it as per passed cpu frequency
             # duration to microseconds