Ticket #26454: patch-src-tovid-init.in.diff

File patch-src-tovid-init.in.diff, 1.2 KB (added by danielb@…, 14 years ago)
  • ./src/tovid-init.in

    old new  
    299299
    300300    # File size in bytes
    301301    FOP_LAST_SIZE=0
    302     FOP_CUR_SIZE=$(du -b "$FOP_OUTFILE" | awk '{print $1}')
     302    FOP_CUR_SIZE=$(gdu -b "$FOP_OUTFILE" | awk '{print $1}')
    303303
    304304    # Keep looping until outfile stops getting bigger
    305305    while test "$FOP_CUR_SIZE" -gt "$FOP_LAST_SIZE"; do
     
    322322        sleep ${SLEEP_TIME-"1s"}
    323323
    324324        FOP_LAST_SIZE=$FOP_CUR_SIZE
    325         FOP_CUR_SIZE=$(du -b "$FOP_OUTFILE" | awk '{print $1}')
     325        FOP_CUR_SIZE=$(gdu -b "$FOP_OUTFILE" | awk '{print $1}')
    326326    done
    327327    printf "\n\n"
    328328}
     
    560560    # *************************************************************************
    561561    # Required Dependencies
    562562    # *************************************************************************
    563     core="grep sed md5sum mplayer mencoder mplex mpeg2enc yuvfps yuvdenoise ppmtoy4m mp2enc jpeg2yuv ffmpeg"
     563    core="grep gsed gmd5sum mplayer mencoder mplex mpeg2enc yuvfps yuvdenoise ppmtoy4m mp2enc jpeg2yuv ffmpeg"
    564564
    565565    # *************************************************************************
    566566    # Optional Dependencies