[vlc-devel] [vlc-commits] swscale: fix aspect-ratio problem properly
remi at remlab.net
Sun Nov 25 19:04:33 CET 2012
Le dimanche 25 novembre 2012 19:47:59, Ilkka Ollakka a écrit :
> On Sun, Nov 25, 2012 at 07:19:51PM +0200, Rémi Denis-Courmont wrote:
> > This does not look right. I don't think the output format is always a
> > multiple of the input format.
> Yes, I just noticed that place to set aspect-ratio isn't optimal in
> there, and it seems to work more cleaner if moved to Filter() function.
Uh? The problem is rounding error in the division.
Aspect ratios should never be divided (in non-integral fashion).
More information about the vlc-devel