On Thu, Oct 14, 2010 at 4:47 PM, j-b-m <[email protected]> wrote:
> Hi.
>
> Working on Kdenlive's clip properties dialog, I noticed a reproducible crash
> when forcing a clip's aspect ratio and then resetting it to default.
I fixed this with a different patch.
> In Kdenlive, when we want to reset a property, we use for example:
>
> producer->set("force_aspect_ratio", (const char*) NULL);
>
> Is there a better way to remove a property?
That should do it, but somehow a property is not getting removed but
rather its string value is set NULL. So, I added checks to passing a
NULL pointer to functions like atof and atoi.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel