Ignore:
Timestamp:
2013-10-09T23:31:21+13:00 (11 years ago)
Author:
davidb
Message:

Changes to work with newer version of ffmpeg

File:
1 edited

Legend:

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

    r26532 r28369  
    210210    $self->init_cache_for_file($filename);
    211211
    212 
    213212    my $originalfilename = undef;
    214213    my $type = "unknown";
     
    235234                           
    236235    $type = $converttotype;
     236    $filename = $ofilename;
     237    $file = $ofile;
     238
     239    ($aduration,$asize,$atype,$afreq,$achan,$arate)
     240        = &AudioConverter::identify($ofilename, $outhandle, $verbosity);
     241
     242    if ($aduration eq "N/A") {
     243        print $outhandle "Unable to determine duration of converted $ofile\n";
     244        $aduration = undef;
     245    }
    237246    }
    238247   
Note: See TracChangeset for help on using the changeset viewer.