X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.c;h=e84ee0725bf8adcb261237b23b16772a01eaff40;hb=2e467c2eeba2b51aecddda21d4bb97bef4cd1459;hp=01c4ba2d9a736a1ed04565d238abe14281ec0b27;hpb=77a1a6728272d122e878834539761ac574f6c1da;p=melted diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index 01c4ba2..e84ee07 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -202,6 +202,19 @@ int mlt_properties_dec_ref( mlt_properties this ) return 0; } +/** Return the ref count of this object. +*/ + +int mlt_properties_ref_count( mlt_properties this ) +{ + if ( this != NULL ) + { + property_list *list = this->local; + return list->ref_count; + } + return 0; +} + /** Allow the specification of a mirror. */