It would be very nice, IMO, if functions like "mlt_producer_get_length(mlt_producer self)" were declared in such a way that "self" points to a "const".
I find "const" correctness a very useful concept. I guess that users of the MLT library that care for const correctness would benefit. https://isocpp.org/wiki/faq/const-correctness Of course, since MLT is already non-const correct, making it so could be a nightmare and break things. But simple access methods that do not return references should be okay to change. The pointers typedefs in "mlt_types.h" makes things a little harder, though. :-( I think libraries should always be "const-correct", because otherwise the library imposes its "non-const-correctness" to their users. It affects most the users of the library, more then the library itself. This is just a suggestion. Most people probably don't really mind. Feel free to just ignore this e-mail. :-) And sorry if this has already been discussed. =o) André Caldas. _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel