Ticket #3141: mythweb-streaming-fix.diff
File mythweb-streaming-fix.diff, 527 bytes (added by , 14 years ago) |
---|
-
mythweb/modules/stream/handler.pl
137 137 EOF 138 138 exit; 139 139 } 140 elsif ($ENV{'REQUEST_URI'} = !/\.flv$/i) {140 elsif ($ENV{'REQUEST_URI'} =~ /\.flv$/i) { 141 141 # Print the movie 142 142 $ffmpeg_pid = open(DATA, "/usr/bin/ffmpeg -y -i $filename -s 320x240 -f flv -ar 11025 /dev/stdout |"); 143 143 unless ($ffmpeg_pid) {