Grabber::setExternalTransportMode Method

Sets a new mode for the external transport control.
Syntax:
bool setExternalTransportMode( long mode );
Parameter Description
mode

Specifies the new mode the external tranport control should be set to.

Return value:

true on success, false otherwise.

Remarks:

This method sets the external transport control to a new mode. This method is only available, if a device is open and valid.

Possible values for the mode parameter may be (in the DirectShow documentation under IAMExtTransport::put_Mode):

Value Description
ED_MODE_PLAY Play
ED_MODE_STOP Stop
ED_MODE_FREEZE Freeze (pause)
ED_MODE_THAW Resume
ED_MODE_FF Fast forward
ED_MODE_REW Rewind
ED_MODE_RECORD Record
ED_MODE_RECORD_STROBE Record single frame
ED_MODE_STEP_FWD Single step forward
ED_MODE_STEP_REV Single step backward

See also: Grabber, Grabber::hasExternalTransport, Grabber::getExternalTransportMode

<< Grabber

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.