uint8_t *p;
uint8_t *q;
- mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
-
mlt_frame_get_image( frame, &image, &img_fmt, &img_width, &img_height, 0 );
q = image;
img_convert( ( AVPicture * )output, video_st->codec->pix_fmt, ( AVPicture * )input, PIX_FMT_YUYV422, width, height );
#endif
+ mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
+
// Apply the alpha if applicable
if ( video_st->codec->pix_fmt == PIX_FMT_RGB32 )
{
uint8_t *image = NULL;
// Get the image
- mlt_events_fire( this_properties, "consumer-frame-show", frame, NULL );
mlt_frame_get_image( frame, &image, &fmt, &width, &height, 0 );
// Check that we get what we expected
// Encode the image
dv_encode_full_frame( encoder, &image, e_dv_color_yuv, dv_frame );
}
+ mlt_events_fire( this_properties, "consumer-frame-show", frame, NULL );
}
else if ( encoder != NULL )
{
} else if (save_jpegs > 0) {
counter++;
}
+ mlt_events_fire(MLT_CONSUMER_PROPERTIES( consumer ), "consumer-frame-show", frame, NULL );
} else {
mlt_log_warning(MLT_CONSUMER_SERVICE(consumer), "Videobuffer was NULL, skipping playout!\n");
}
// Get the image, width and height
mlt_frame_get_image( frame, &image, &vfmt, &width, &height, 0 );
mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "format", vfmt );
- mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
void *pool = mlt_cocoa_autorelease_init();
sdl_unlock_display();
mlt_cocoa_autorelease_close( pool );
+ mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
}
else if ( this->running )
{
// Get the image, width and height
mlt_frame_get_image( frame, &image, &vfmt, &width, &height, 0 );
- mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
if ( image != NULL )
{
sdl_unlock_display();
mlt_cocoa_autorelease_close( pool );
if ( unlock != NULL ) unlock( );
+ mlt_events_fire( properties, "consumer-frame-show", frame, NULL );
return 1;
}