diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-06-10 13:51:32 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-06-10 13:51:32 +0000 |
commit | 0ef3ddbaf980957b460fa472452ad55e63abcd49 (patch) | |
tree | d7c8dd5be247a6876e29654716ef51fcaab9c832 /media-video/acidrip/files | |
parent | sparc/x86 stable wrt #225619 (diff) | |
download | historical-0ef3ddbaf980957b460fa472452ad55e63abcd49.tar.gz historical-0ef3ddbaf980957b460fa472452ad55e63abcd49.tar.bz2 historical-0ef3ddbaf980957b460fa472452ad55e63abcd49.zip |
Patch acidrip to work with newer mplayer, bug 168012
Package-Manager: portage-2.1.5.3
Diffstat (limited to 'media-video/acidrip/files')
-rw-r--r-- | media-video/acidrip/files/acidrip-mplayer.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-video/acidrip/files/acidrip-mplayer.patch b/media-video/acidrip/files/acidrip-mplayer.patch new file mode 100644 index 000000000000..2937db939402 --- /dev/null +++ b/media-video/acidrip/files/acidrip-mplayer.patch @@ -0,0 +1,20 @@ +--- AcidRip/acidrip.pm.orig 2008-06-10 07:33:00.000000000 -0600 ++++ AcidRip/acidrip.pm 2008-06-10 07:34:40.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 ( $_ =~ /Crop 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+.\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) } |