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


Home
QNX Community Resources
QNX Documentation Library
AOExtInspector

AOExtInspector

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

AOExtInspector

Inspect a file extension

Synopsis:

static AOExtInspector media_filter =
{
    RateExtension
};

Description:

This interface defines the functionality required to determine if an inspector's filter can process data from or to a file stream with the given extension. It defines a single function:

RateExtension()

int32_t (*RateExtension)(const char *extension);

This function should return a rating, from 0 to 100, of how sure you are that the filter can process data in a file with the extension, where 100 is the best rating. You can use this function 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:

AoFormatInspector, AoMimetypeInspector, AoStreamInspector

Extending the Multimedia Framework.