[Mlt-devel] Git: Validate alpha channel size before cropping and padding it.
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2010-09-11 05:52:58
|
src/framework/mlt_frame.c | 5 +---- src/modules/core/filter_crop.c | 4 +++- src/modules/core/filter_imageconvert.c | 6 +++++- src/modules/core/filter_resize.c | 13 +++++++++---- 4 files changed, 18 insertions(+), 10 deletions(-) New commits: commit e7ffe7fe969f780fb13dbb6c3639160603aad3b1 Author: Dan Dennedy <da...@de...> Date: Fri Sep 10 22:08:44 2010 -0700 Validate alpha channel size before cropping and padding it. Eventually, I need to add mlt_frame_get_alpha() that returns a size and mlt_frame_set_alpha() encapsulates handling of the alpha channel. commit 37e315a0d2ea3034e8c36c1e149e780c93e9f284 Author: Dan Dennedy <da...@de...> Date: Fri Sep 10 22:05:44 2010 -0700 Set the alpha channel size more reliably in imageconvert. commit 2e8394d597dc24a98f15acecc3d3a8e0f935a653 Author: Dan Dennedy <da...@de...> Date: Fri Sep 10 22:04:44 2010 -0700 Base alpha channel on width and height. Removes scaled_width and scaled_height properties, which were typically redundant with width and height, but less available. Besides, width and height better reflect the image attributes to help keep the image and alpha channel in sync. |