Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The CPullPinclass is provided to allow a filter downstream from the source to create a thread and pull a media stream from an asynchronous source filter that supports the IAsyncReaderinterface. Typically this class is implemented on the input pin of a parser filter, since the Microsoft DirectShow asynchronous reader filter just reads a media stream from a file and provides no parsing.
Protected Data Members
m_pAlloc | Pointer to the IMemAllocatorinterface used by the connection. |
Member Functions
Active | Instructs the pin to start pulling data from the asynchronous reader. |
AlignDown | Aligns a LONGLONGvalue down to the next LONGboundary. |
AlignUp | Aligns a LONGLONGvalue up to the next LONGboundary. |
Connect | Initiates a connection from this pin to the asynchronous reader. |
CPullPin | Constructs a CPullPinobject. |
Disconnect | Breaks a connection to the asynchronous reader. |
Duration | Retrieves the total duration of the media stream. |
GetReader | Retrieves the asynchronous reader interface. |
Inactive | Instructs the pin to stop pulling data from the asynchronous reader. |
Seek | Sets the start and stop times of the media stream. |
Overridable Member Functions
BeginFlush | Flushes this pin and all downstream pins. |
DecideAllocator | Proposes an allocator for use by the asynchronous reader. |
EndFlush | Signals end of flushing operation. |
EndOfStream | Sends end-of-stream notification downstream. |
OnError | Handles run-time errors that caused pulling to stop. |
Receive | Handles the arrival of data from the asynchronous reader. |