[xiph-commits] r16904 - in trunk/ffmpeg2theora: . src

j at svn.xiph.org j at svn.xiph.org
Mon Feb 15 21:27:05 PST 2010


Author: j
Date: 2010-02-15 21:27:05 -0800 (Mon, 15 Feb 2010)
New Revision: 16904

Modified:
   trunk/ffmpeg2theora/ChangeLog
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
set pixel aspect 1:1 and not set it to undefined

Modified: trunk/ffmpeg2theora/ChangeLog
===================================================================
--- trunk/ffmpeg2theora/ChangeLog	2010-02-16 00:17:14 UTC (rev 16903)
+++ trunk/ffmpeg2theora/ChangeLog	2010-02-16 05:27:05 UTC (rev 16904)
@@ -1,6 +1,6 @@
 svn
+    - aspect ratio fix in twopass mode
 
-
 0.26 2010-02-05
     - use a/v sync from input container
       this should fix many issues that came up with variable framerate inputs

Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2010-02-16 00:17:14 UTC (rev 16903)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2010-02-16 05:27:05 UTC (rev 16904)
@@ -1079,11 +1079,7 @@
             }
             info.ti.fps_numerator = this->framerate.num;
             info.ti.fps_denominator = this->framerate.den;
-            /* this is pixel aspect ratio */
-            if(this->aspect_numerator==1 && this->aspect_denominator==1) {
-                this->aspect_numerator = 0;
-                this->aspect_denominator = 0;
-            }
+
             info.ti.aspect_numerator = this->aspect_numerator;
             info.ti.aspect_denominator = this->aspect_denominator;
 



More information about the commits mailing list