SGSetChannelMaxFrames
The SGSetChannelMaxFrames function allows the sequence grabber to limit the number of frames that your channel component will capture during a record operation.
pascal ComponentResult SGSetChannelMaxFrames (SGChannel c,
long frameCount);
c
- Identifies the channel connection for this operation.
frameCount
- Specifies the maximum number of frames to capture during the preview or record operation. The sequence grabber component sets this parameter to -1 to remove the limit.
DESCRIPTION
The SGSetChannelMaxFrames function works only with channels that have data that is organized into frames, such as video data from a video disc.
RESULT CODES
| paramErr | -50 | Invalid parameter specified |
| cantDoThatInCurrentMode | -9402 | Request invalid in current mode |
SEE ALSO
You report whether your channel's data is organized into frames in your response to the SGGetChannelInfo function, which is described on page 6-47.