[FFmpeg-devel] [PATCH] vf_fade: fade always cal

Mark Himsley mark at mdsh.com
Fri Mar 18 16:25:26 CET 2011


On 18/03/11 15:07, Mark Himsley wrote:
> draw_slice() checks that the fade factor is < 65536 and only calculates
> the fade if so. But the fade factor is clipped in end_frame() by
> av_clip_uint16() to 65535, so the fade is calculated for every frame.
> This patch alters the check so that it compares with < 65535 (UINT16_MAX).

And this time with the patch file attached...

-- 
Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-vt_fade.02.diff
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110318/3d82fb94/attachment-0001.bin>


More information about the ffmpeg-devel mailing list