freebsd-ports/multimedia/dvdrip/files/patch-lib::Video::DVDRip::Cluster::Title.pm
Michael Nottebrock 2a63be6c34 - Change order of arguments fed to transcode to work around a transcode
commandline parsing bug.

- Work around imagemagick's identify not recognising the '-ping' switch
anymore.

PR:		ports/75985
Submitted by:	Stephan van Maris <svmaris@e-village.nl>
Identify bug reported by: h <h@erathia.be>, Stephan van Maris <svmaris@e-village.nl>
2005-01-11 22:40:47 +00:00

28 lines
859 B
Perl

--- lib/Video/DVDRip/Cluster/Title.pm.orig Sat Apr 10 11:18:03 2004
+++ lib/Video/DVDRip/Cluster/Title.pm Sun Jan 9 17:41:11 2005
@@ -276,10 +276,10 @@
} else {
$command .=
"dr_exec avimerge".
- " -i $avi_file".
" -p $audio_file".
" -a $target_nr".
- " -o $avi_file.merged &&".
+ " -o $avi_file.merged ".
+ " -i $avi_file &&".
" mv $avi_file.merged $target_file &&".
" rm $audio_file &&".
" echo DVDRIP_SUCCESS";
@@ -312,10 +312,9 @@
my $command =
"mkdir -m 0775 -p '$audio_video_psu_dir' && ".
- "${nice}dr_exec avimerge -i $avi_chunks_dir/*".
- " -o $audio_video_psu_file ";
-
+ "${nice}dr_exec avimerge -o $audio_video_psu_file";
$command .= " -p $audio_psu_file " if not $self->is_ogg;
+ $command .= " -i $avi_chunks_dir/*";
$command .= " && rm $avi_chunks_dir/*"
if $self->with_cleanup;