continue;
pos = mlt_frame_get_position( frame );
+ // WebVfx uses this to setup a consumer-stopping event handler.
+ mlt_properties_set_data( MLT_FRAME_PROPERTIES( frame ), "consumer", self, 0, NULL, NULL );
+
// Increment the counter used for averaging processing cost
count ++;
if ( frame == NULL )
continue;
+ // WebVfx uses this to setup a consumer-stopping event handler.
+ mlt_properties_set_data( MLT_FRAME_PROPERTIES( frame ), "consumer", self, 0, NULL, NULL );
+
#ifdef DEINTERLACE_ON_NOT_NORMAL_SPEED
// All non normal playback frames should be shown
if ( mlt_properties_get_int( MLT_FRAME_PROPERTIES( frame ), "_speed" ) != 1 )
// This isn't true, but from the consumers perspective it is
if ( frame != NULL )
+ {
mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "rendered", 1 );
+
+ // WebVfx uses this to setup a consumer-stopping event handler.
+ mlt_properties_set_data( MLT_FRAME_PROPERTIES( frame ), "consumer", self, 0, NULL, NULL );
+ }
}
return frame;