X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_transition.h;fp=src%2Fframework%2Fmlt_transition.h;h=7f11c3bf79f354c2dc11d989207fc71bade89a07;hb=43b8637d43111412e4de944a4eeb3668ab838f9b;hp=0a38157b619a0e4b0096a81f21c4a3b3c6bdb992;hpb=bd97dfc6013aaa419c0bfd3093b56885be5c02f3;p=melted diff --git a/src/framework/mlt_transition.h b/src/framework/mlt_transition.h index 0a38157..7f11c3b 100644 --- a/src/framework/mlt_transition.h +++ b/src/framework/mlt_transition.h @@ -27,34 +27,38 @@ /** \brief Transition abstract service class * + * A transition may modify the output of a producer based on the output of a second producer. + * * \extends mlt_service_s + * \properties \em a_track the track index (0-based) of a multitrack of the first producer + * \properties \em b_track the track index (0-based) of a multitrack of the second producer + * \properties \em accepts_blanks a flag to indicate if the transition should accept blank frames + * \properties \em always_active a flag to indicate that the in and out points do not apply + * \properties \em _transition_type 1 for video, 2 for audio */ struct mlt_transition_s { - /* We're implementing service here */ + /** We're implementing service here */ struct mlt_service_s parent; - /* public virtual */ + /** public virtual */ void ( *close )( mlt_transition ); - /* protected transition method */ + /** protected transition method */ mlt_frame ( *process )( mlt_transition, mlt_frame, mlt_frame ); - /* Protected */ + /** Protected */ void *child; - /* track and in/out points */ + /** track and in/out points */ mlt_service producer; - /* Private */ + /** Private */ mlt_frame *frames; int held; }; -/** Public final methods -*/ - #define MLT_TRANSITION_SERVICE( transition ) ( &( transition )->parent ) #define MLT_TRANSITION_PROPERTIES( transition ) MLT_SERVICE_PROPERTIES( MLT_TRANSITION_SERVICE( transition ) )