Author: sevein
Date: Wed Jul 20 13:42:30 2011
New Revision: 9342

Log:
Use strtolower to get rid of mismatch with some versions of ffmpeg, fixes issue 
2024

Modified:
   trunk/lib/model/QubitDigitalObject.php

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Wed Jul 20 11:47:11 2011        
(r9341)
+++ trunk/lib/model/QubitDigitalObject.php      Wed Jul 20 13:42:30 2011        
(r9342)
@@ -1639,7 +1639,7 @@
     $command = 'ffmpeg -version 2>&1';
     exec($command, $output, $status);
 
-    return 0 < count($output) && false !== strpos($output[0], 'FFmpeg');
+    return 0 < count($output) && false !== strpos(strtolower($output[0]), 
'ffmpeg');
   }
 
   /**

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to