X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2Fsrc%2Fframework%2Fmlt_types.h;h=26bae3dcb3de85740fd212b6024dfeb41c8cb15d;hb=fc5ebbfed65635009b29bdd52a1c0deebadc9157;hp=b100f18f40fd289cee13d533a055eb35c229fc06;hpb=1a50e779cfd5e1bc6a80054f6f56e64280c2dc41;p=melted diff --git a/mlt/src/framework/mlt_types.h b/mlt/src/framework/mlt_types.h index b100f18..26bae3d 100644 --- a/mlt/src/framework/mlt_types.h +++ b/mlt/src/framework/mlt_types.h @@ -31,7 +31,7 @@ typedef enum } mlt_whence; -typedef double mlt_timecode; +typedef int64_t mlt_position; typedef struct mlt_frame_s *mlt_frame, **mlt_frame_ptr; typedef struct mlt_properties_s *mlt_properties; typedef struct mlt_service_s *mlt_service; @@ -48,5 +48,12 @@ typedef struct mlt_consumer_s *mlt_consumer; typedef void ( *mlt_destructor )( void * ); typedef char *( *mlt_serialiser )( void *, int length ); +#define MLT_SERVICE(x) ( ( mlt_service )( x ) ) +#define MLT_PRODUCER(x) ( ( mlt_producer )( x ) ) +#define MLT_MULTITRACK(x) ( ( mlt_multitrack )( x ) ) +#define MLT_PLAYLIST(x) ( ( mlt_playlist )( x ) ) +#define MLT_TRACTOR(x) ( ( mlt_tractor )( x ) ) +#define MLT_FILTER(x) ( ( mlt_filter )( x ) ) +#define MLT_TRANSITION(x) ( ( mlt_transition )( x ) ) #endif