Adds a frame to the video.
Namespace:
Gallio.Common.MediaAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if frame is null. |
| System..::.ArgumentException | Thrown if the frame dimensions are not exactly equal to those of the video. |
