Method GetInputDeinterlaceMode
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputDeinterlaceMode(InputRef, CancellationToken)
Gets the deinterlace mode of an input.
public Task<DeinterlaceMode> GetInputDeinterlaceMode(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input, by name or by UUID.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
- Task<DeinterlaceMode>
Deinterlace mode of the input.
Remarks
Deinterlace Modes:.
- OBS_DEINTERLACE_MODE_DISABLE - OBS_DEINTERLACE_MODE_DISCARD - OBS_DEINTERLACE_MODE_RETRO - OBS_DEINTERLACE_MODE_BLEND - OBS_DEINTERLACE_MODE_BLEND_2X - OBS_DEINTERLACE_MODE_LINEAR - OBS_DEINTERLACE_MODE_LINEAR_2X - OBS_DEINTERLACE_MODE_YADIF - OBS_DEINTERLACE_MODE_YADIF_2X.
Note: Deinterlacing functionality is restricted to async inputs only.
Introduced in obs-websocket 5.6.0.