VideoPlayer.DetachFromVideoMixer method |
|
Remarks
Detaches the given video player from an instance of the video mixer.
For further details about the use of the embedded video player see the VideoPlayer class section.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
For further details about the use of the embedded video mixer see the VideoMixer object section.
For details about video mixing/blending refer to the How to use the video mixer tutorial.
Syntax
[Visual Basic] Public Function DetachFromVideoMixer ( nPlayerIndex as Int16, nMixerUniqueId as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes DetachFromVideoMixer ( Int16 nPlayerIndex, Int32 nMixerUniqueId ); |
[C++] public: enumErrorCodes DetachFromVideoMixer ( Int16 nPlayerIndex, Int32 nMixerUniqueId ); |
Parameter |
Description |
|
|
nPlayerIndex |
Number representing the zero-based index of the player that will use the video player. |
nMixerUniqueId |
Unique identifier of the video mixer returned by a previous call to the VideoMixer.Create method |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |