Skip to content

Interactive vs programmatical use

By default, when the preview is running, TVideoGrabber restarts the preview automatically each time a setting that requires a preview restart is modified. This behavior avoids having to call StartPreview when adjusting the video properties.

However, it can cause unnecessary preview restarts, e.g. if several properties are set programmatically while the preview is running. In this case, disable AutoRefreshPreview to turn off this feature: the changes are then applied only when StartPreview is invoked again.