TVideoGrabber.PlayerTrackBarSynchrone

Prev

Next

TVideoGrabber

Properties

 




































































































Enable the synchrone behavior of the trackbar


Declaration
property PlayerTrackBarSynchrone: Boolean read GetPlayerTrackBarSynchrone write SetPlayerTrackBarSynchrone default DEF_PlayerTrackBarSynchrone;


__property bool PlayerTrackBarSynchrone=read=GetPlayerTrackBarSynchrone, write=SetPlayerTrackBarSynchrone, default=0


Property PlayerTrackBarSynchrone as Boolean

Description

When this property is enabled, moving the trackbar with the mouse moves also the position in the video clip immediately.
When this property is disabled, the position is updated only after moving the mouse on the trackbar, when the mouse button is released.

Important:

For this feature to work property you must inform TVideoGrabber of the mouse and keyboard actions on your trackbar by invoking NotifyPlayerTrackbarAction from your trackbar's event.
Look at the trackbar's code of the MainDemo project for sample code.
When using Delphi or C++Builder, if a TTrackbar component is assigned to the PlayerTrackbar property this is handled automatically.


See Also
Player features TOnPlayerStateChanged TPlayerState TOnPlayerBufferingData AudioChannelRenderMode AudioStreamNumber AutoStartPlayer AVIDuration AVIHeaderInfo AVIInfo AVIInfo2 ClosePlayer FastForwardPlayer IsPlayerAudioStreamAvailable IsPlayerVideoStreamAvailable Last_Clip_Played OnPlayerBufferingData OnPlayerEndOfStream OnPlayerStateChanged OnPlayerUpdateTrackbarPosition OpenPlayer OpenPlayerAtFramePositions OpenPlayerAtTimePositions PausePlayer PlayerAudioCodec PlayerAudioRendering PlayerDuration PlayerDVSize PlayerFastSeekSpeedRatio PlayerFileName PlayerForcedCodec PlayerFrameCount PlayerFramePosition PlayerFrameRate PlayerFrameStep PlayerRefreshPausedDisplay PlayerRefreshPausedDisplayFrameRate PlayerSpeedRatio PlayerTimePosition PlayerTrackBar PlayerTrackBarScale PlayerVideoCodec RewindPlayer RunPlayer RunPlayerBackwards ShowDialog SourceStream StopPlayer SynchronizationRole Synchronized VideoHeight_PreferredAspectRatio VideoWidth_PreferredAspectRatio