Edit

Share via


IMFVideoProcessorControl3::EnableSphericalVideoProcessing method (mfidl.h)

Enables spherical video rendering (360 video).

Syntax

HRESULT EnableSphericalVideoProcessing(
  [in] BOOL                           fEnable,
  [in] MFVideoSphericalFormat         eFormat,
  [in] MFVideoSphericalProjectionMode eProjectionMode
);

Parameters

[in] fEnable

A BOOL specifying Whether rendering is enabled.

[in] eFormat

A member of the MFVideoSphericalFormat enumeration specifying the type of spherical video to render.

[in] eProjectionMode

A member of the MFVideoSphericalProjectionMode enumeration specifying how the video should be projected.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 version 1803
Minimum supported server Windows Server version 1803
Header mfidl.h