|
IMVSCSetSourceFilter
The IMVSCSetSourceFilter Interface from the MontiVision Smart
Control provides methods to change the video source
within a filter graph configuration. It reconnects the filter
graph to work with the new video source. For this to work, the
filter graph must be in the state: STATE_STOP to change the
video source.
Methods:
| SetSourceFilter
|
Replaces an
existing source filter with a new source. The new source will be
created with the display name.
|
Typelib: MV Smart Control
Method
IMVSCSetSourceFilter::SetSourceFilter
Declaration: Sub
SetSourceFilter(Filter As String, NewFilterDisplayName As String)
Replaces an existing source filter with a new source. The new
source was created with the display name.
Parameter:
|
|
Filter |
Video source filter label within the filter
graph configuration. |
|
|
NewFilterDisplayName |
Display name from the new video source
filter. |
Use the MV
VideoSourceComboBox to change the video source
within a filter graph configuration. It provides the display name
from the current selected video device. The display name is a
complex string that contains all information to create a video
source filter that wraps a video device.
Prototype:
HRESULT SetSourceFilter(BSTR
Filter, BSTR NewFilterDisplayName);
|