Functions | |
PIDFilter_t * | ServiceFilterCreate (TSFilter_t *tsfilter) |
Creates a new Service Filter linked to the supplied TS Filter and return the PIDFilter_t instance used to filter the TS. | |
void | ServiceFilterDestroy (PIDFilter_t *filter) |
Destroy a service filter created by ServiceFilterCreate(). | |
void | ServiceFilterDestroyAll (TSFilter_t *tsFilter) |
Destroy all service filters linked to the specified TS Filter. | |
void | ServiceFilterServiceSet (PIDFilter_t *filter, Service_t *service) |
Set the service filtered by the specified service filter. | |
Service_t * | ServiceFilterServiceGet (PIDFilter_t *filter) |
Get the service being filtered by the specified service filter. | |
void | ServiceFilterAVSOnlySet (PIDFilter_t *filter, bool enable) |
Set whether to filter out any PIDs that are not being used by Audio/Video or subtitle (AVS) streams. | |
bool | ServiceFilterAVSOnlyGet (PIDFilter_t *filter) |
Get whether the specified service filter is only filtering Audio/Video or subtitle PIDs. | |
void | ServiceFilterDeliveryMethodSet (PIDFilter_t *filter, DeliveryMethodInstance_t *instance) |
Set the delivery method associated with the specified service filter. | |
DeliveryMethodInstance_t * | ServiceFilterDeliveryMethodGet (PIDFilter_t *filter) |
Get the delivery method associated with the specified service filter. | |
Variables | |
char | ServicePIDFilterType [] |
String constant used to signify that a PIDFilter instance is being used as a service filter. |
bool ServiceFilterAVSOnlyGet | ( | PIDFilter_t * | filter | ) |
Get whether the specified service filter is only filtering Audio/Video or subtitle PIDs.
filter | The service filter to check. |
void ServiceFilterAVSOnlySet | ( | PIDFilter_t * | filter, | |
bool | enable | |||
) |
Set whether to filter out any PIDs that are not being used by Audio/Video or subtitle (AVS) streams.
This also rewrites the PMT (when enabled) to contain only the first available video/audio/subtitle PIDs.
filter | The service filter to change the AVS only setting on. | |
enable | TRUE to enable AVS only, FALSE to disable and filter all PIDS related to the service. |
PIDFilter_t* ServiceFilterCreate | ( | TSFilter_t * | tsfilter | ) |
Creates a new Service Filter linked to the supplied TS Filter and return the PIDFilter_t instance used to filter the TS.
tsfilter | The TS Filter to link the ServiceFilter to. |
DeliveryMethodInstance_t* ServiceFilterDeliveryMethodGet | ( | PIDFilter_t * | filter | ) |
Get the delivery method associated with the specified service filter.
filter | The service filter to interrogate. |
void ServiceFilterDeliveryMethodSet | ( | PIDFilter_t * | filter, | |
DeliveryMethodInstance_t * | instance | |||
) |
Set the delivery method associated with the specified service filter.
filter | The service filter to change the delivery method of. | |
instance | The new delivery method to set. |
void ServiceFilterDestroy | ( | PIDFilter_t * | filter | ) |
Destroy a service filter created by ServiceFilterCreate().
filter | The service filter to destroy. |
void ServiceFilterDestroyAll | ( | TSFilter_t * | tsFilter | ) |
Destroy all service filters linked to the specified TS Filter.
tsFilter | The TS Filter to remove all ServiceFilters from. |
Service_t* ServiceFilterServiceGet | ( | PIDFilter_t * | filter | ) |
Get the service being filtered by the specified service filter.
filter | The service filter to retrieve the service from. |
void ServiceFilterServiceSet | ( | PIDFilter_t * | filter, | |
Service_t * | service | |||
) |
Set the service filtered by the specified service filter.
filter | The service filter to set the service being filtered on or NULL to stop filtering. | |
service | The new service to filter. |