VDSetTimeBase
The VDSetTimeBase function allows an application to establish the video digitizer's time coordinate system.
pascal VideoDigitizerError VDSetTimeBase
(VideoDigitizerComponent ci,
TimeBase t);
ci
- Identifies the application's connection to the video digitizer component. An application obtains this value from the Component Manager's
OpenComponent function.
t
- Specifies the video digitizer's new time base.
DESCRIPTION
Video digitizers return all time information in relation to the specified time base. For example, whenever a digitizer returns a compressed frame from its VDCompressDone function, it returns time information relating to the time when the frame was digitized and compressed. This time information is expressed in the time base that the application specifies with this function.
RESULT CODES
| noErr | 0 | No error |
| digiUnimpErr | -2201 | Function not supported |