QMedia 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)` `` ``

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:32