|
mlt 0.7.6
|
Tractor class. More...
#include <mlt_tractor.h>
Public Member Functions | |
| void | mlt_tractor_close (mlt_tractor self) |
| Close the tractor and free its resources. | |
| int | mlt_tractor_connect (mlt_tractor self, mlt_service producer) |
| Connect the tractor. | |
| mlt_field | mlt_tractor_field (mlt_tractor self) |
| Get the field self tractor is harvesting. | |
| mlt_producer | mlt_tractor_get_track (mlt_tractor self, int index) |
| Get the producer for a specific track. | |
| mlt_tractor | mlt_tractor_init () |
| Construct a tractor without a field or multitrack. | |
| mlt_multitrack | mlt_tractor_multitrack (mlt_tractor self) |
| Get the multitrack a tractor is pulling. | |
| mlt_tractor | mlt_tractor_new () |
| Construct a tractor as well as a field and multitrack. | |
| mlt_producer | mlt_tractor_producer (mlt_tractor self) |
| Get the producer object associated to the tractor. | |
| mlt_properties | mlt_tractor_properties (mlt_tractor self) |
| Get the properties object associated to the tractor. | |
| void | mlt_tractor_refresh (mlt_tractor self) |
| Ensure the tractors in/out points match the multitrack. | |
| mlt_service | mlt_tractor_service (mlt_tractor self) |
| Get the service object associated to the tractor. | |
| int | mlt_tractor_set_track (mlt_tractor self, mlt_producer producer, int index) |
| Set the producer for a specific track. | |
Data Fields | |
| struct mlt_producer_s | parent |
| A producer is a service. | |
| mlt_service | producer |
Tractor class.
The tractor is a convenience class that works with the field class to manage a multitrack, track filters, and transitions.
| void mlt_tractor_close | ( | mlt_tractor | self | ) |
Close the tractor and free its resources.
| self | a tractor |
| int mlt_tractor_connect | ( | mlt_tractor | self, |
| mlt_service | producer | ||
| ) |
Connect the tractor.
| self | a tractor |
| producer | a producer |
| mlt_field mlt_tractor_field | ( | mlt_tractor | self | ) |
Get the field self tractor is harvesting.
| self | a tractor |
| mlt_producer mlt_tractor_get_track | ( | mlt_tractor | self, |
| int | index | ||
| ) |
Get the producer for a specific track.
| self | a tractor |
| index | the 0-based track index |
index | mlt_tractor mlt_tractor_init | ( | ) |
Construct a tractor without a field or multitrack.
Sets the resource property to "<tractor>", the mlt_type to "mlt_producer", and mlt_service to "tractor".
| mlt_multitrack mlt_tractor_multitrack | ( | mlt_tractor | self | ) |
Get the multitrack a tractor is pulling.
| self | a tractor |
| mlt_tractor mlt_tractor_new | ( | ) |
Construct a tractor as well as a field and multitrack.
Sets the resource property to "<tractor>", the mlt_type to "mlt_producer", and mlt_service to "tractor".
| mlt_producer mlt_tractor_producer | ( | mlt_tractor | self | ) |
Get the producer object associated to the tractor.
| self | a tractor |
| mlt_properties mlt_tractor_properties | ( | mlt_tractor | self | ) |
Get the properties object associated to the tractor.
| self | a tractor |
| void mlt_tractor_refresh | ( | mlt_tractor | self | ) |
Ensure the tractors in/out points match the multitrack.
| self | a tractor |
| mlt_service mlt_tractor_service | ( | mlt_tractor | self | ) |
Get the service object associated to the tractor.
| self | a tractor |
| int mlt_tractor_set_track | ( | mlt_tractor | self, |
| mlt_producer | producer, | ||
| int | index | ||
| ) |
Set the producer for a specific track.
| self | a tractor |
| producer | a producer |
| index | the 0-based track index |
A producer is a service.
Reimplemented from mlt_producer_s.
1.7.3