QMedia Video media commands |

### QM_GetVideoMediaDisplayFormat

QM_GetVideoMediaDisplayFormat(movieRef; trackID; displayFormat):error
| movieRef | Longint | Movie reference
| trackID | Longint | Track ID
| displayFormat | Longint | Display format
| error | Longint | Error result

Returns the display format currently used when adding samples to a video track.

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

Parameter trackID is the ID of the track.

Parameter displayFormat receives the display format. It is one of the following picture display formats:

Truncated Centered | 1
Scaled to Fit | 2
Truncated non Centered | 4
Scaled to fit proportional | 5
Scaled to fit prop centered | 6

QMedia sets the default diplay format to Scaled to fit prop centered (6).

Example

``Get the display format of video track ID $trackID` `` `C_LONGINT($format)` `` `$err:=QM_GetVideoMediaDisplayFormat ($movie;$trackID;$format)` `` ``

Related commands

QM_SetVideoMediaDisplayFormat | Changes the display format of new video samples.

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