QMedia Video media commands

QM_GetVideoMediaBackColor

QM_GetVideoMediaBackColor(movieRef; trackID; backColor):error
movieRef Longint Movie reference
trackID Longint Track ID
backColor Longint Background RGB color
error Longint Error result

Returns the background color 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 backColor receives the background RGB color. It is expressed as a longint, using 4Dv6's RGB color notation format (0x00RRGGBB - see the SET RGB COLOR 4D command).

QMedia sets the default background color to white (0x00FFFFFF).

Example

  `Get the background color of video track ID $trackID
 
C_LONGINT($backColor)
 
$err:=QM_GetVideoMediaBackColor ($movie;$trackID;$backColor)
 
 

Related commands

QM_SetVideoMediaBackColor Changes the background color of new video samples.

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