X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fconsumer_westley.c;h=c1e68c19974a89e9b7f838b30cadb8eed66db1c0;hb=dc57bd7b4020663b49149f44f1607c4d78c4d2d5;hp=c309065399f45d5e62e389c10c2b374f51f0b565;hpb=acebb83a8ead55799505891f9a95be4eead9eb49;p=melted diff --git a/src/modules/westley/consumer_westley.c b/src/modules/westley/consumer_westley.c index c309065..c1e68c1 100644 --- a/src/modules/westley/consumer_westley.c +++ b/src/modules/westley/consumer_westley.c @@ -96,12 +96,14 @@ static inline void serialise_properties( mlt_properties properties, xmlNode *nod mlt_properties_get_value( properties, i ) != NULL && strcmp( name, "westley" ) != 0 ) { -#if 0 - p = xmlNewChild( node, NULL, "prop", NULL ); +#if 1 + p = xmlNewChild( node, NULL, "property", NULL ); + xmlNewProp( p, "name", mlt_properties_get_name( properties, i ) ); + xmlNodeSetContent( p, mlt_properties_get_value( properties, i ) ); #else p = node; -#endif xmlNewProp( p, mlt_properties_get_name( properties, i ), mlt_properties_get_value( properties, i ) ); +#endif } } }