Platforms to show: All Mac Windows Linux Cross-Platform
Back to DirectShowPinMBS class.
DirectShowPinMBS.Accept(Type as DirectShowMediaTypeMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
A return value of true indicates that the pin will accept the media type, either on the next sample, or after a pin reconnection. The implementation should take into account the current state of the filter, including connections on other pins, and any properties that can be set on the filter.
Any other return value, including false, means that the pin rejects the media type. Therefore, test for true explicitly.
If the filter is running, a return value of true is ambiguous. The pin might accept a format change on the next media sample, without reconnecting; or it might need to reconnect. If the pin supports the IPinConnection interface, call the IPinConnection::DynamicQueryAccept method, which specifically tests whether the pin can accept the new type without reconnecting.
DirectShowPinMBS.BaseFilter as DirectShowBaseFilterMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
DirectShowPinMBS.ConnectedTo as DirectShowPinMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
DirectShowPinMBS.ConnectionMediaType as DirectShowMediaTypeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
Returns nil if not connected.
DirectShowPinMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
DirectShowPinMBS.Direction as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The Filter Graph Manager calls this method when it disconnects two filters. Applications and filters should not call this method. Instead, call the DirectShowFilterGraphMBS.Disconnect method on the Filter Graph Manager.
Sets lasterror.
This method fails if the filter is paused or running. If the pin supports the PinConnection interface, call PinConnection DynamicDisconnect to disconnect the pin when the filter is paused or running.
This method does not disconnect the other pin in the pin connection.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns a string containing the pin identifier.
Lasterror is set.
DirectShowPinMBS.MediaTypes as DirectShowMediaTypeMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
DirectShowPinMBS.Name as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DirectShow | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
The items on this page are in the following plugins: MBS Win Plugin.
