Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
AOMimetypeInspector

AOMimetypeInspector

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

AOMimetypeInspector

Rate a MIME type

Synopsis:

static AOMimetypeInspector media_filter =
{
    RateMimetype
};

Description:

This interface defines the functions required to determine if an filter can process data from a stream with the given mimetype. It defines a single function:

RateMimetype()

int32_t (*RateMimetype)(const char *mimetype);

This function should return a rating, from 0 to 100, of how sure you are that your addon can process data with the given mimetype. You can use RateMimetype() before you create a handle for a filter.


Note: As a guideline, multimedia rating functions in existing addons return 80 when they can process data.

Classification:

Neutrino

See also:

AoExtInspector, AoFormatInspector, AoStreamInspector

Extending the Multimedia Framework.