Ticket #6401: flv_ffmpeg_mp3_detection.patch
File flv_ffmpeg_mp3_detection.patch, 629 bytes (added by , 15 years ago) |
---|
-
mythweb/modules/mythweb/tmpl/default/set_flvplayer.php
37 37 break; 38 38 } 39 39 } 40 $ffmpeg_output = shell_exec ("$ffmpeg - -help2>&1");40 $ffmpeg_output = shell_exec ("$ffmpeg -formats 2>&1"); 41 41 $has_mp3_support = strpos ($ffmpeg_output, "mp3"); 42 42 if (!$has_mp3_support) 43 43 echo ' DISABLED';