-/*
- * mlt_filter.h -- abstraction for all filter services
- * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
- * Author: Charles Yates <charles.yates@pandora.be>
+/**
+ * \file mlt_filter.h
+ * \brief abstraction for all filter services
+ * \see mlt_filter_s
+ *
+ * Copyright (C) 2003-2009 Ushodaya Enterprises Limited
+ * \author Charles Yates <charles.yates@pandora.be>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* \extends mlt_service_s
* \properties \em track the index of the track of a multitrack on which the filter is applied
+ * \properties \em service a reference to the service to which this filter is attached.
+ * Currently this is not cleared when the filter is detached.
*/
struct mlt_filter_s
extern int mlt_filter_get_track( mlt_filter self );
extern mlt_position mlt_filter_get_in( mlt_filter self );
extern mlt_position mlt_filter_get_out( mlt_filter self );
+extern mlt_position mlt_filter_get_length( mlt_filter self );
+extern mlt_position mlt_filter_get_length2( mlt_filter self, mlt_frame frame );
+extern mlt_position mlt_filter_get_position( mlt_filter self, mlt_frame frame );
+extern double mlt_filter_get_progress( mlt_filter self, mlt_frame frame );
extern void mlt_filter_close( mlt_filter );
#endif