blob: dedde3a117471d253a614525a157b63c0fa382b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- ./AcidRip/acidrip.pm.orig 2004-07-25 10:03:09.000000000 -0400
+++ ./AcidRip/acidrip.pm 2009-06-23 19:43:28.289154908 -0400
@@ -218,7 +218,29 @@
$menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1;
}
if ( $::settings->{'video_codec'} eq 'xvid' ) {
- $menc{'video'} = "-ovc xvid -xvidencopts $::settings->{'xvid_options'}:bitrate=$::settings->{'video_bitrate'}";
+#----------------
+#ORIGINAL $menc{'video'} = "-ovc xvid -xvidencopts $::settings->{'xvid_options'}:bitrate=$::settings->{'video_bitrate'}";
+ $menc{'video'} = "-ovc xvid -xvidencopts ";
+ if ( $::settings->{'xvid_options'} eq '' )
+ {
+ # my $msgaa = "AA You have no xvid_options set.";
+ # message($msgaa);
+ # print $msgaa . "\n";
+ # my $msgbb = "BB You have no xvid_options set.";
+ # message($msgbb);
+ # print $msgbb . "\n";
+ }
+ else
+ {
+ # my $msgaa = "AA You do have some xvid_options set.";
+ # message($msgaa);
+ # print $msgaa . "\n";
+ # my $msgbb = "BB You do have some xvid_options set.";
+ # message($msgbb);
+ # print $msgbb . "\n";
+ $menc{'video'} .= "$::settings->{'xvid_options'}:" ;
+ }
+ $menc{'video'} .= "bitrate=$::settings->{'video_bitrate'}";
$menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1;
}
if ( $::settings->{'video_codec'} eq 'nuv' ) {
|