X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.h;h=f79e19209c1d5dabf8ae30b259b4f6d1f1014fa5;hb=4a39b72c5ac8fd2dd6db81a95eab08adde0491b9;hp=9bbcda80d8d88ecd5dd2b8a534423c26db952393;hpb=52c1bb26fcbb895824cd9237c228ea4834ce1433;p=melted diff --git a/src/framework/mlt_producer.h b/src/framework/mlt_producer.h index 9bbcda8..f79e192 100644 --- a/src/framework/mlt_producer.h +++ b/src/framework/mlt_producer.h @@ -22,6 +22,7 @@ #define _MLT_PRODUCER_H_ #include "mlt_service.h" +#include "mlt_filter.h" /** The interface definition for all producers. */ @@ -55,11 +56,20 @@ extern int mlt_producer_set_speed( mlt_producer self, double speed ); extern double mlt_producer_get_speed( mlt_producer self ); extern double mlt_producer_get_fps( mlt_producer self ); extern int mlt_producer_set_in_and_out( mlt_producer self, mlt_position in, mlt_position out ); +extern int mlt_producer_clear( mlt_producer self ); extern mlt_position mlt_producer_get_in( mlt_producer self ); extern mlt_position mlt_producer_get_out( mlt_producer self ); extern mlt_position mlt_producer_get_playtime( mlt_producer self ); extern mlt_position mlt_producer_get_length( mlt_producer self ); extern void mlt_producer_prepare_next( mlt_producer self ); +extern int mlt_producer_attach( mlt_producer self, mlt_filter filter ); +extern int mlt_producer_detach( mlt_producer self, mlt_filter filter ); +extern mlt_filter mlt_producer_filter( mlt_producer self, int index ); +extern mlt_producer mlt_producer_cut( mlt_producer self, int in, int out ); +extern int mlt_producer_is_cut( mlt_producer self ); +extern int mlt_producer_is_mix( mlt_producer self ); +extern mlt_producer mlt_producer_cut_parent( mlt_producer self ); +extern int mlt_producer_optimise( mlt_producer self ); extern void mlt_producer_close( mlt_producer self ); #endif