[MPlayer-dev-eng] [PATCH] fixing vf_sab

Michael Niedermayer michaelni at gmx.at
Mon Apr 13 02:09:43 CEST 2009


On Wed, Apr 08, 2009 at 10:30:34PM -0400, Alexander Strange wrote:
> Currently -vf sab always crashes, because it calls sws_getContext with no 
> scaling algorithm in the flags.
> This used to work, since it's unscaled, but broke with:
>
> ------------------------------------------------------------------------
> r27317 | michael | 2008-07-17 18:01:18 -0400 (Thu, 17 Jul 2008) | 2 lines
>
> Ensure that exactly one scaler algo is used.
>
> and apparently I'm the only one who ever uses sab.
> Attached patch fixes it; since it's unscaled, the algorithm flag is ignored 
> anyway, but SWS_POINT seemed most correct.

i assume you checked that the scaler type makes no difference?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090413/bb79db36/attachment.pgp>


More information about the MPlayer-dev-eng mailing list