mlt_service mlt_producer_service( mlt_producer this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the producer properties.
mlt_properties_set_double( properties, "fps", mlt_producer_get_fps( this ) );
double speed = mlt_producer_get_speed( this );
mlt_properties_set_double( properties, "_speed", speed );
+ mlt_properties_set_int( properties, "test_audio", mlt_frame_is_test_audio( *frame ) );
+ mlt_properties_set_int( properties, "test_image", mlt_frame_is_test_card( *frame ) );
return 0;
}