[xiph-commits] r16745 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Fri Dec 4 05:04:02 PST 2009
Author: j
Date: 2009-12-04 05:04:02 -0800 (Fri, 04 Dec 2009)
New Revision: 16745
Modified:
trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
remove ignoring of pixel aspect ratios near 1.0
Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-11-30 07:57:27 UTC (rev 16744)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-12-04 13:04:02 UTC (rev 16745)
@@ -767,14 +767,7 @@
}
}
- if ((float)this->aspect_numerator/this->aspect_denominator < 1.09) {
- this->aspect_numerator = 1;
- this->aspect_denominator = 1;
- frame_aspect=(float)(this->aspect_numerator*this->picture_width)/
- (this->aspect_denominator*this->picture_height);
- }
-
if (!(info.twopass==3 && info.passno==2) && !info.frontend && this->aspect_denominator && frame_aspect) {
fprintf(stderr, " Pixel Aspect Ratio: %.2f/1 ",(float)this->aspect_numerator/this->aspect_denominator);
fprintf(stderr, " Frame Aspect Ratio: %.2f/1\n", frame_aspect);
More information about the commits
mailing list