apply patch from Jean Baptiste to add rgb24a support to producer_pixbuf
[melted] / src / framework / mlt_filter.h
index 6d87933..d95a754 100644 (file)
@@ -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 );