X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_property.h;h=7db6aa258d0cc1364862a17c346c77af77bb1976;hb=fd99b3c0f3cf93b743953d9178ca82d19c0abf20;hp=8fb209c464dd423138912f2656743b96a28edf33;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/src/framework/mlt_property.h b/src/framework/mlt_property.h index 8fb209c..7db6aa2 100644 --- a/src/framework/mlt_property.h +++ b/src/framework/mlt_property.h @@ -31,9 +31,10 @@ typedef enum mlt_prop_none = 0, mlt_prop_int = 1, mlt_prop_string = 2, - mlt_prop_timecode = 4, + mlt_prop_position = 4, mlt_prop_double = 8, - mlt_prop_data = 16 + mlt_prop_data = 16, + mlt_prop_int64 = 32 } mlt_property_type; @@ -47,8 +48,9 @@ typedef struct mlt_property_s // Atomic type handling int prop_int; - mlt_timecode prop_timecode; + mlt_position prop_position; double prop_double; + int64_t prop_int64; // String handling char *prop_string; @@ -65,15 +67,16 @@ typedef struct mlt_property_s */ extern mlt_property mlt_property_init( ); -extern void mlt_property_clear( mlt_property this ); extern int mlt_property_set_int( mlt_property this, int value ); extern int mlt_property_set_double( mlt_property this, double value ); -extern int mlt_property_set_timecode( mlt_property this, mlt_timecode value ); +extern int mlt_property_set_position( mlt_property this, mlt_position value ); +extern int mlt_property_set_uint64( mlt_property this, uint64_t value ); extern int mlt_property_set_string( mlt_property this, char *value ); extern int mlt_property_set_data( mlt_property this, void *value, int length, mlt_destructor destructor, mlt_serialiser serialiser ); extern int mlt_property_get_int( mlt_property this ); extern double mlt_property_get_double( mlt_property this ); -extern mlt_timecode mlt_property_get_timecode( mlt_property this ); +extern mlt_position mlt_property_get_position( mlt_property this ); +extern int64_t mlt_property_get_int64( mlt_property this ); extern char *mlt_property_get_string( mlt_property this ); extern void *mlt_property_get_data( mlt_property this, int *length ); extern void mlt_property_close( mlt_property this );