X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_filter.h;h=d95a754c534cfc4522d4a25c637958ce38685bd4;hb=c95736fd9ee742f5e6db06bbe579f23895f55eba;hp=6d87933372efdeda57552db0128908a27ea9a552;hpb=fa0d65478efe5d80e0affa58095109800a5cba71;p=melted diff --git a/src/framework/mlt_filter.h b/src/framework/mlt_filter.h index 6d87933..d95a754 100644 --- a/src/framework/mlt_filter.h +++ b/src/framework/mlt_filter.h @@ -37,9 +37,6 @@ struct mlt_filter_s // protected filter method mlt_frame ( *process )( mlt_filter, mlt_frame ); - // track and in/out points - mlt_service producer; - // Protected void *child; }; @@ -47,6 +44,9 @@ struct mlt_filter_s /** Public final methods */ +#define MLT_FILTER_SERVICE( filter ) ( &( filter )->parent ) +#define MLT_FILTER_PROPERTIES( filter ) MLT_SERVICE_PROPERTIES( MLT_FILTER_SERVICE( filter ) ) + extern int mlt_filter_init( mlt_filter self, void *child ); extern mlt_filter mlt_filter_new( ); extern mlt_service mlt_filter_service( mlt_filter self );