TVideoGrabber.ApplicationPriority

Prev

Next

TVideoGrabber

Properties

 




































































































Sets the priority of the application.


Declaration
property ApplicationPriority: TApplicationPriority read GetApplicationPriority write SetApplicationPriority default DEF_ApplicationPriority;


__property TApplicationPriority ApplicationPriority=read=GetApplicationPriority, write=SetApplicationPriority, default=0

Description

Used to set the priority of the application.

Values
ap_default:

normal priority
ap_idle:

idle priority
ap_normal:

normal priority
ap_high:

high priority
ap_realtime:

real time priority

Although it looks like threading priority, this property is used to select the accuracy of the frame counting by the OnFrameProgress2 event.

It is recommend to leave it to its default value.

Setting it to ap_idle may reduce the CPU load but may not report all the frames.