[Mlt-devel] Seg Fault in transition_composite.c
Brought to you by:
ddennedy,
lilo_booter
From: Torsten S. <spi...@hb...> - 2006-01-17 10:47:33
|
Hello, I'm getting seg faults in the composite_line_yuv function in transition_composite.c, a backtrace is attached to the mail. The code where this happens is a custom filter I wrote that synchronizes a filter on incoming udp messages. I put the code at=20 http://fett.ethz.ch/~spindler/pivisaUtil.tar.bz2 and http://fett.ethz.ch/~spindler/obscure.tar.bz2 The seg fault only occurs when I use the region filter. With the obscure filter no problem appears. Here's the line in obscure.c where I decide on compile time what filter to use: #ifdef _USEREGIONFILTER filter =3D mlt_factory_filter( "region", NULL ); #elif _USEOBSCUREFILTER filter =3D mlt_factory_filter( "obscure", NULL ); #endif mlt_properties filterProps =3D mlt_filter_properties( filter ); #ifdef _USEREGIONFILTER mlt_properties_set( filterProps, "filter[0]", "obscure"); mlt_properties_set( filterProps, "filter[1]", "invert"); #endif I change the filters behaviour based on the message I parse with this line in both cases: mlt_properties_set( props, REGIONPROP, buffer ); REGIONPROP is one of the following two: #ifdef _USEREGIONFILTER #define REGIONPROP "composite.geometry" #endif #ifdef _USEOBSCUREFILTER #define REGIONPROP "start" #endif I'm not sure if I'm using the region filter wrong or if there's a bug within mlt. Any help on how to debug this is appreciated! Bye, Torsten |