VideoPlayer.VideoStreamSendToActiveMovieWin method |
|
Remarks
In absence of an output rendering window, set through a previous call to the VideoPlayer.VideoWindowAdd method, decides if the video stream must be sent to the floating ActiveMovie window instead of the NullRenderer.
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.
Syntax
[Visual Basic] Public Function VideoStreamSendToActiveMovieWin ( nPlayerIndex as Int16, bSend as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes VideoStreamSendToActiveMovieWin ( Int16 nPlayerIndex, bool bSend ); |
[C++] public: enumErrorCodes VideoStreamSendToActiveMovieWin ( Int16 nPlayerIndex, bool bSend ); |
Parameter |
Description |
||||||
|
|
||||||
nPlayerIndex |
Number representing the zero-based index of the player that will use the video player. |
||||||
bSend |
Boolean value that specifies if the video stream must be sent to the ActiveMovie window instead of the NullRenderer. Supported values are the following:
|
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. |