Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DirectShowMediaFilterMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DirectShow MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: The MediaFilter interface controls the streaming state of a filter.
Notes:
All DirectShow filters implement this interface. It provides methods for switching the filter between states (stopped, paused, and running); for retrieving the filter's current state; and for setting a reference clock. Applications should not call MediaFilter methods on filters.

The Filter Graph Manager also exposes this interface. Applications can use the SetSyncSource method to set the graph reference clock, and GetSyncSource to retrieve the clock. Applications should not call the other methods on this interface. Instead, use the corresponding methods on the MediaControl interface.
The BaseFilter interface inherits from MediaFilter.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Filter State Constants

Constant Value Description
kStatePaused 1 Paused. The filter is processing data, but not rendering it.
kStateRunning 2 Running. The filter is processing and rendering data.
kStateStopped 0 Stopped. The filter is not processing data.

Sub classes:


The items on this page are in the following plugins: MBS Win Plugin.


DirectShowMediaEventMBS   -   DirectShowMediaTypeMBS




Links
MBS Xojo PDF Plugins