IESFCompression::GetGopStructure
HRESULT GetGopStructure(
ESF_GOPSTRUCTURE *pGopStructure
);
pGopStructure |
[out] Pointer to a variable of type ESF_GOPSTRUCTURE that receives the GOP structure. |
Retrieves the GOP (group of pictures) structure for the MPEG-4 compressed media stream.
The GOP structure setting is available only if following conditions are met:
- the filter uses a Picolo Diligent.
- the media type is MEDIASUBTYPE_DX50 or WMMEDIASUBTYPE_MP4S.
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. |
E_POINTER |
At least one argument is not a valid pointer. |
E_FAIL |
GOP structure setting is not applicable. See notes above. |
Requirements
Header |
ESFilter.h |
Library |
ESFilter.dll |
MultiCam |
5.0 or later |