X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.h;h=7e748c0f7b69e0b0c8b18ec042fab2c782ebc279;hb=42bd0aedb6d3d65bedb98479adcdbaeb326dfee9;hp=52976524f8fb5e5d840f9c6c7d9ac8a027ff8a69;hpb=426c659c0b9d0667e2399e60cf81341a51ac040f;p=melted diff --git a/src/framework/mlt_producer.h b/src/framework/mlt_producer.h index 5297652..7e748c0 100644 --- a/src/framework/mlt_producer.h +++ b/src/framework/mlt_producer.h @@ -43,23 +43,23 @@ struct mlt_producer_s /** Public final methods */ +//extern double mlt_producer_convert_position_to_time( mlt_producer this, int64_t frame ); +//extern mlt_position mlt_producer_convert_time_to_position( mlt_producer this, double time ); + extern int mlt_producer_init( mlt_producer this, void *child ); extern mlt_service mlt_producer_service( mlt_producer this ); extern mlt_properties mlt_producer_properties( mlt_producer this ); -extern mlt_timecode mlt_producer_time( mlt_producer this, int64_t frame ); -extern int64_t mlt_producer_frame_position( mlt_producer this, mlt_timecode position ); -extern int mlt_producer_seek( mlt_producer this, mlt_timecode timecode ); -extern int mlt_producer_seek_frame( mlt_producer this, int64_t frame ); -extern mlt_timecode mlt_producer_position( mlt_producer this ); -extern uint64_t mlt_producer_frame( mlt_producer this ); +extern int mlt_producer_seek( mlt_producer this, mlt_position position ); +extern mlt_position mlt_producer_position( mlt_producer this ); +extern mlt_position mlt_producer_frame( mlt_producer this ); extern int mlt_producer_set_speed( mlt_producer this, double speed ); extern double mlt_producer_get_speed( mlt_producer this ); extern double mlt_producer_get_fps( mlt_producer this ); -extern int mlt_producer_set_in_and_out( mlt_producer this, mlt_timecode in, mlt_timecode out ); -extern mlt_timecode mlt_producer_get_in( mlt_producer this ); -extern mlt_timecode mlt_producer_get_out( mlt_producer this ); -extern mlt_timecode mlt_producer_get_playtime( mlt_producer this ); -extern mlt_timecode mlt_producer_get_length( mlt_producer this ); +extern int mlt_producer_set_in_and_out( mlt_producer this, mlt_position in, mlt_position out ); +extern mlt_position mlt_producer_get_in( mlt_producer this ); +extern mlt_position mlt_producer_get_out( mlt_producer this ); +extern mlt_position mlt_producer_get_playtime( mlt_producer this ); +extern mlt_position mlt_producer_get_length( mlt_producer this ); extern void mlt_producer_prepare_next( mlt_producer this ); extern void mlt_producer_close( mlt_producer this );