X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.h;h=7e748c0f7b69e0b0c8b18ec042fab2c782ebc279;hb=6336039a203c6496691784682f9ad56eb13abcc3;hp=888c3bc55e86c10f3e54ec8929a0429a2bc6edaf;hpb=80a5c8297b313b09add80814a637a71ba9e0fa05;p=melted diff --git a/src/framework/mlt_producer.h b/src/framework/mlt_producer.h index 888c3bc..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, uint64_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 );