X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.h;h=287987250a943da0e6d59e9d654e177e402cc9c8;hb=25f69a94909b67a20d84bc0503c954d0a491ca36;hp=52976524f8fb5e5d840f9c6c7d9ac8a027ff8a69;hpb=426c659c0b9d0667e2399e60cf81341a51ac040f;p=melted diff --git a/src/framework/mlt_producer.h b/src/framework/mlt_producer.h index 5297652..2879872 100644 --- a/src/framework/mlt_producer.h +++ b/src/framework/mlt_producer.h @@ -44,22 +44,20 @@ struct mlt_producer_s */ extern int mlt_producer_init( mlt_producer this, void *child ); +extern mlt_producer mlt_producer_new( ); 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 );