Click or drag to resize
Accord.NET (logo)

FileVideoSourcePreventFreezing Property

Prevent video freezing after screen saver and workstation lock or not.

Namespace:  Accord.Video.DirectShow
Assembly:  Accord.Video.DirectShow (in Accord.Video.DirectShow.dll) Version: 3.8.0
public bool PreventFreezing { get; set; }
Request Example View Source

Property Value

Type: Boolean

The value specifies if the class should prevent video freezing during and after screen saver or workstation lock. To prevent freezing the DirectShow graph should not contain Renderer filter, which is added by Render() method of graph. However, in some cases it may be required to call Render() method of graph, since it may add some more filters, which may be required for playing video. So, the property is a trade off - it is possible to prevent video freezing skipping adding renderer filter or it is possible to keep renderer filter, but video may freeze during screen saver.

Note Note
The property may become obsolete in the future when approach to disable freezing and adding all required filters is found.

Note Note
The property should be set before calling Start method of the class to have effect.

Default value of this property is set to false.

See Also