QMediaLight Movie time commands

QM_GetTimeScale

QM_GetTimeScale(movieRef; timeScale):error
movieRef Longint Movie reference
timeScale Longint Movie time scale
error Longint Error result

Returns the time scale of a movie. The time scale is a movie property expressed as the number of time units in a second.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter timeScale receives the movie's time scale.

Example

  `Get the time scale of movie $movieRef
 
C_LONGINT($timeScale)
$error:=QM_GetTimeScale ($movieRef;$timeScale)
 
 

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:37