MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFCompression > IESFCompression::SetGopStructure

IESFCompression::SetGopStructure

HRESULT SetGopStructure(
  ESF_GOPSTRUCTURE GopStructure
);

GopStructure

[in] New GOP structure.

Selects the GOP (group of pictures) structure of the MPEG-4 media stream.

The GOP structure setting is available only if following conditions are met:

Be aware that, when the output format is set to AUTO, the media type is decided only when the filter is connected. The media type can be selected through the output format setting.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

VFW_E_FILTER_ACTIVE

GOP structure cannot be changed while the filter is running.

E_FAIL

GOP structure setting is not applicable. See notes above.

E_INVALIDARG

The argument value is not allowed.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Compression

GOP Structure

DX50 with PICOLO Diligent

MP4S with PICOLO Diligent

IESFCompression::GetGopStructure

IESFCompression::GetGopSizeRange

IESFCompression::GetGopSize

IESFCompression::SetGopSize