Changeset 26921

Show
Ignore:
Timestamp:
25.02.2013 13:05:04 (7 years ago)
Author:
jmt12
Message:

making ffmpeg detection tests a little more robust due to version changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video-and-audio/trunk/src/perllib/plugins/MultimediaConverter.pm

    r20344 r26921  
    9393    } else { 
    9494 
    95     my $result = `ffmpeg -h 2>&1`; 
    96  
    97     if (!defined $result || $result !~ m/^FFmpeg version/m) { 
     95    my $result = `ffmpeg -version 2>&1`; 
     96 
     97    if (!defined $result || $result !~ m/^FFmpeg version/im) { 
    9898        $self->{'ffmpeg_installed'} = 0; 
    9999        print $outhandle $result;