[MPlayer-dev-eng] [PATCH] fixing vf_sab
Alexander Strange
astrange at ithinksw.com
Thu Apr 9 04:30:34 CEST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sab.diff
Type: text/x-diff
Size: 581 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090408/b6b7ea6b/attachment.diff>
-------------- next part --------------
More information about the MPlayer-dev-eng
mailing list