IESFProperties::IsVideoSignalPresent
HRESULT IsVideoPresent();
Indicates whether a valid video signal is present on the selected connector.
This method is useful if you choose not to handle the events posted by the Euresys source filter. It works only when the filter is connected and running.
The user calls this method to check whether the video signal is still present and thus, if the filter is still providing media samples.
Return Values
Returns an HRESULT value. Possible values include the following.
Return code |
Description |
S_OK |
The video signal is present. The filter provides media samples. |
S_FALSE |
The video signal is not present. The filter does not provide media samples. |
E_FAIL |
The status cannot be retrieved because the filter is stopped or disconnected. |
E_PROP_ID_UNSUPPORTED |
This method is not supported by the pins of the Euresys source filter. |
Requirements
Header |
ESFilter.h |
Library |
ESFilter.dll |
MultiCam |
5.0 or later |