X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.h;h=a331029ec53d8182304624cc6fb66a5d324928d2;hb=95f429b56026f5897ebad9060608b6631dcf7515;hp=c0be46e5d20b6605b5a8c3a24192fa9f77f10eda;hpb=fa0d65478efe5d80e0affa58095109800a5cba71;p=melted diff --git a/src/framework/mlt_properties.h b/src/framework/mlt_properties.h index c0be46e..a331029 100644 --- a/src/framework/mlt_properties.h +++ b/src/framework/mlt_properties.h @@ -22,6 +22,7 @@ #define _MLT_PROPERTIES_H_ #include "mlt_types.h" +#include "mlt_events.h" #include /** The properties base class defines the basic property propagation and @@ -32,6 +33,8 @@ struct mlt_properties_s { void *child; void *local; + mlt_destructor close; + void *close_object; }; /** Public interface. @@ -40,6 +43,8 @@ struct mlt_properties_s extern int mlt_properties_init( mlt_properties, void *child ); extern mlt_properties mlt_properties_new( ); extern mlt_properties mlt_properties_load( char *file ); +extern int mlt_properties_inc_ref( mlt_properties self ); +extern int mlt_properties_dec_ref( mlt_properties self ); extern void mlt_properties_mirror( mlt_properties self, mlt_properties that ); extern int mlt_properties_inherit( mlt_properties self, mlt_properties that ); extern int mlt_properties_pass( mlt_properties self, mlt_properties that, char *prefix ); @@ -61,6 +66,7 @@ extern void *mlt_properties_get_data( mlt_properties self, char *name, int *leng extern int mlt_properties_rename( mlt_properties self, char *source, char *dest ); extern int mlt_properties_count( mlt_properties self ); extern void mlt_properties_dump( mlt_properties self, FILE *output ); +extern void mlt_properties_debug( mlt_properties self, char *title, FILE *output ); extern void mlt_properties_close( mlt_properties self ); #endif