X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_field.c;h=2439fe97f39ebfef57468966b64c08221eeeaebd;hb=9963a6c9ec5fc7cf01d0932151aec4bcf4cc409b;hp=3ba08419ae1d8bc5b00ab571b61f472008905c0d;hpb=be092fb725a3ef83741bb72460e11aac95989e3c;p=melted diff --git a/src/framework/mlt_field.c b/src/framework/mlt_field.c index 3ba0841..2439fe9 100644 --- a/src/framework/mlt_field.c +++ b/src/framework/mlt_field.c @@ -146,6 +146,9 @@ int mlt_field_plant_filter( mlt_field this, mlt_filter that, int track ) // Reconnect tractor to new producer mlt_tractor_connect( this->tractor, this->producer ); + + // Fire an event + mlt_events_fire( mlt_field_properties( this ), "service-changed", NULL ); } return result; @@ -167,6 +170,9 @@ int mlt_field_plant_transition( mlt_field this, mlt_transition that, int a_track // Reconnect tractor to new producer mlt_tractor_connect( this->tractor, this->producer ); + + // Fire an event + mlt_events_fire( mlt_field_properties( this ), "service-changed", NULL ); } return 0;