Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
MmFindMimetypesFilter()
Find the best filter for a mimetype
Synopsis:
MmFilter_t *MmFindMimetypesFilter(MmGraph_t *graph,
const char *mimetype);
Arguments:
- graph
- A pointer to the graph you want to find the best stream filter for.
- mimetype
- A pointer to the mimetype to find a filter for.
Library:
mmedia
Description:
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.
Returns:
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.
Classification:
Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
MmDestroyFilter(), MmFilter_t, MmFindChannelsFilter(), MmFindFilter(), MmFindMediaReader()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)