strcmp( name, "height" ) )
{
char *value;
+ fprintf(stderr, "serializing %s=%s (%d)\n", name, mlt_properties_get( properties, name ),
+ context->time_format);
if ( !strcmp( name, "length" ) )
- value = strdup( mlt_properties_get_time( properties, name, context->time_format ) );
+ {
+ char *time = mlt_properties_get_time( properties, name, context->time_format );
+ if ( time )
+ value = strdup( time );
+ }
else
value = filter_restricted( mlt_properties_get_value( properties, i ) );
if ( value )