xmlNewProp( profile_node, _x("frame_rate_num"), _x(tmpstr) );
sprintf( tmpstr, "%d", profile->frame_rate_den );
xmlNewProp( profile_node, _x("frame_rate_den"), _x(tmpstr) );
+ sprintf( tmpstr, "%d", profile->colorspace );
+ xmlNewProp( profile_node, _x("colorspace"), _x(tmpstr) );
// Construct the context maps
context->id_map = mlt_properties_new();
p->progressive = my_profile->progressive;
p->sample_aspect_den = my_profile->sample_aspect_den;
p->sample_aspect_num = my_profile->sample_aspect_num;
+ p->colorspace = my_profile->colorspace;
p->is_explicit = 1;
mlt_profile_close( my_profile );
}
p->frame_rate_num = strtol( _s(atts[ 1 ]), NULL, 0 );
else if ( xmlStrcmp( atts[ 0 ], _x("frame_rate_den") ) == 0 )
p->frame_rate_den = strtol( _s(atts[ 1 ]), NULL, 0 );
+ else if ( xmlStrcmp( atts[ 0 ], _x("colorspace") ) == 0 )
+ p->colorspace = strtol( _s(atts[ 1 ]), NULL, 0 );
}
}