Adds a frame to the video.

Namespace:  Gallio.Common.Media
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public void AddFrame(
	VideoFrame frame
)
Visual Basic (Declaration)
Public Sub AddFrame ( _
	frame As VideoFrame _
)

Parameters

frame
Type: Gallio.Common.Media..::.VideoFrame
The video frame to add.

Remarks

The implementation makes a copy of the frame or encodes it immediately so that the caller can reuse the same frame buffers for subsequent frames.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if frame is null.
System..::.ArgumentExceptionThrown if the frame dimensions are not exactly equal to those of the video.

See Also