Index: ffmpeg_converter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ffmpeg_converter/ffmpeg_converter.module,v
retrieving revision 1.36
diff -w -u -F^func -r1.36 ffmpeg_converter.module
--- ffmpeg_converter.module	23 Mar 2009 07:29:43 -0000	1.36
+++ ffmpeg_converter.module	23 Mar 2009 14:22:22 -0000
@@ -1063,7 +1063,7 @@ function ffmpeg_converter_get_padded_siz
         $dest_y_calc &= ~1;
         $padding1 = floor(($dest_y - $dest_y_calc) / 2);
         $padding2 = $dest_y - $dest_y_calc - $padding1;
-        $pad = sprintf('-padtop %d -padbottom %d', $padding, $padding);
+        $pad = sprintf('-padtop %d -padbottom %d', $padding1, $padding2);
         $size = $dest_x . 'x' . $dest_y_calc;
       }
       elseif ($dest_q > $orig_q) {
@@ -1073,7 +1073,7 @@ function ffmpeg_converter_get_padded_siz
         $dest_x_calc &= ~1;
         $padding1 = round(($dest_x - $dest_x_calc) / 2);
         $padding2 = $dest_x - $dest_x_calc - $padding1;
-        $pad = sprintf('-padleft %d -padright %d', $padding, $padding);
+        $pad = sprintf('-padleft %d -padright %d', $padding1, $padding2);
         $size = $dest_x_calc . 'x' . $dest_y;
       }
       
