IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvSetFrameNumber


Image Audio Video
    X

Sets the current frame to a specified frame number.

Authorization

None

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbmpeg.lib libdmbmpeg.a (AIX)

libdmbmpeg.sl (HP-UX)

libdmbmpeg.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvSetFrameNumber(
      DBvIOType *video
      unsigned long frameNumber
      );

Parameters

video (in)
The pointer to the video structure.

frameNumber (in)
Number of the requested frame.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_FRAME_NOT_FOUND
The requested frame could not be found.

MMDB_NO_INDEX
The video index does not exist.

Examples

Set the current frame to frame number 85 in a video file:

#include <dmbshot.h>
 
rc = DBvSetFrameNumber(video, 85);


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]