[xiph-commits] r10145 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Mon Oct 10 05:05:15 PDT 2005


Author: j
Date: 2005-10-10 05:05:13 -0700 (Mon, 10 Oct 2005)
New Revision: 10145

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
undo padding change to match realplay, vlc, gstreamer

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2005-10-10 11:58:51 UTC (rev 10144)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2005-10-10 12:05:13 UTC (rev 10145)
@@ -333,8 +333,8 @@
         this->frame_y_offset = 0;
         
         if(this->frame_width > 0 || this->frame_height > 0){
-            int frame_padtop = this->frame_height-this->picture_height;
-            int frame_padbottom = this->frame_y_offset;
+            int frame_padtop = this->frame_y_offset;
+            int frame_padbottom = this->frame_height-this->picture_height;
             int frame_padleft = this->frame_x_offset;
             int frame_padright = this->frame_width-this->picture_width;
 



More information about the commits mailing list