Ticket #3141: mythweb-streaming-fix.diff

File mythweb-streaming-fix.diff, 527 bytes (added by redmundt@…, 14 years ago)
  • mythweb/modules/stream/handler.pl

     
    137137EOF
    138138        exit;
    139139    }
    140     elsif ($ENV{'REQUEST_URI'} =! /\.flv$/i) {
     140    elsif ($ENV{'REQUEST_URI'} =~ /\.flv$/i) {
    141141    # Print the movie
    142142        $ffmpeg_pid = open(DATA, "/usr/bin/ffmpeg -y -i $filename -s 320x240 -f flv -ar 11025 /dev/stdout |");
    143143        unless ($ffmpeg_pid) {