Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MmFindMediaReader()

Find a reader filter for a file stream

Synopsis:

MmFilter_t *MmFindMediaReader(MmGraph_t *graph,
                              AOIStream_t *stream);

Arguments:

graph
A pointer to the graph you want to attach a stream reader filter to.
stream
A pointer to the file stream you want to read.

Library:

mmedia

Description:

This function creates a stream_reader filter context, attaches the stream to it, and returns it.

Returns:

A pointer to a filter (MmFilter_t) if one is found, NULL otherwise.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmDestroyFilter(), MmFilter_t, MmFindChannelsFilter(), MmFindFilter(), MmFindMimetypesFilter()