This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Find the best filter for a mimetype
MmFilter_t *MmFindMimetypesFilter(MmGraph_t *graph, const char *mimetype);
mmedia
This function creates a context for the best filter for the mimetype, and adds it to the graph.
If there's no addon with a rating greater than 0 for the stream, the function returns NULL. Otherwise, the function creates a new filter from the best addon and returns the new filter.
A pointer to a filter (MmFilter_t) if a suitable one is found, or NULL if no filter with a rating greater than 0 is found for the stream.
Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
MmDestroyFilter(), MmFilter_t, MmFindChannelsFilter(), MmFindFilter(), MmFindMediaReader()