diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-02 13:20:43 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-02 13:20:43 +0200 |
commit | 149f2f1f0a64261a0bb3ecef17e8864d646ba87e (patch) | |
tree | de1a628924a80d20b4d02a8157da8ac0271a38c3 /extra/acidrip/crop-fixes.patch | |
parent | 2c7252b70a46cdbc5363906dc370fdfd8c45d6d9 (diff) | |
download | nutyx-extra-149f2f1f0a64261a0bb3ecef17e8864d646ba87e.tar.gz nutyx-extra-149f2f1f0a64261a0bb3ecef17e8864d646ba87e.tar.bz2 nutyx-extra-149f2f1f0a64261a0bb3ecef17e8864d646ba87e.tar.xz nutyx-extra-149f2f1f0a64261a0bb3ecef17e8864d646ba87e.zip |
acidrip, ajout patch
Diffstat (limited to 'extra/acidrip/crop-fixes.patch')
-rw-r--r-- | extra/acidrip/crop-fixes.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/acidrip/crop-fixes.patch b/extra/acidrip/crop-fixes.patch new file mode 100644 index 000000000..4a856180f --- /dev/null +++ b/extra/acidrip/crop-fixes.patch @@ -0,0 +1,21 @@ +diff -ur acidrip-0.14/AcidRip/acidrip.pm acidrip-0.14-cropfixes/AcidRip/acidrip.pm +--- acidrip-0.14/AcidRip/acidrip.pm 2004-07-25 09:03:09.000000000 -0500 ++++ acidrip-0.14-cropfixes/AcidRip/acidrip.pm 2007-02-12 15:05:36.000000000 -0600 +@@ -680,7 +680,7 @@ + message( "Running " . get_command("cropdetect") ); + open( CROP, get_command("cropdetect") . " 2>&1 |" ); + while (<CROP>) { +- if ( $_ =~ /crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ } ++ if ( $_ =~ /[cC]rop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ } + $crop_output .= $_; + gui_check($_); + } +@@ -863,7 +863,7 @@ + if ( $::settings->{'mencoder_pid'} = open( MENCODER, "$menc 2>&1 |" ) ) { + $/ = "\r"; + while (<MENCODER>) { +- if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) { ++ if (/^Pos:\s*(\d+)\.\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+([\d.]+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) { + if ( $1 ne $sec ) { $sec = $1; $::widgets->{'menc_seconds'}->set_text( hhmmss($1) ) } + if ( $4 ne $fps ) { $fps = $4; $::widgets->{'menc_fps'}->set_text($4) } + if ( $6 ne $size ) { $size = $6; $::widgets->{'menc_filesize'}->set_text($6) } |