mlt_service mlt_consumer_service( mlt_consumer this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the consumer properties.
mlt_properties mlt_consumer_properties( mlt_consumer this )
{
- return mlt_service_properties( &this->parent );
+ return this != NULL ? mlt_service_properties( &this->parent ) : NULL;
}
/** Connect the consumer to the producer.
mlt_service mlt_field_service( mlt_field this )
{
- return mlt_tractor_service( this->tractor );
+ return this != NULL ? mlt_tractor_service( this->tractor ) : NULL;
}
/** Get the multi track.
mlt_multitrack mlt_field_multitrack( mlt_field this )
{
- return this->multitrack;
+ return this != NULL ? this->multitrack : NULL;
}
/** Get the tractor.
mlt_tractor mlt_field_tractor( mlt_field this )
{
- return this->tractor;
+ return this != NULL ? this->tractor : NULL;
}
/** Get the properties associated to this field.
mlt_service mlt_filter_service( mlt_filter this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the properties associated to this filter.
mlt_properties mlt_frame_properties( mlt_frame this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Check if we have a way to derive something other than a test card.
mlt_producer mlt_multitrack_producer( mlt_multitrack this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the service associated this multitrack.
mlt_producer mlt_playlist_producer( mlt_playlist this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the service associated to this playlist.
mlt_service mlt_producer_service( mlt_producer this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the producer properties.
mlt_properties mlt_service_properties( mlt_service self )
{
- return &self->parent;
+ return self != NULL ? &self->parent : NULL;
}
/** Obtain a frame.
mlt_producer mlt_tractor_producer( mlt_tractor this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the properties object associated to the tractor.
mlt_service mlt_transition_service( mlt_transition this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the properties interface.