Author | SHA1 | Message | Date |
---|---|---|---|
|
19d82cb14c |
fade: fix draw_slice() check on fade->factor value
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). |
14 years ago |
|
1527e689cf |
fade: make draw_slice() chroma check against planes 1 and 2
draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data are not NULL before manipulating planes 1 and 2. This patch makes the check against planes 1 and 2. More senseful and possibly more robust. |
14 years ago |
|
704865fc87 |
lavfi: add fade filter
Port fade filter from libavfilter soc repo, with minor fixes by Stefano. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
14 years ago |