获取视频高度 - GetVideoHeight
函数简介
获取视频高度。
接口名称
GetVideoHeight
DLL调用
int32_t GetVideoHeight(int64_t instance, int64_t videoHandle);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| videoHandle | 长整数型 | 视频句柄 |
示例
int32_t height = GetVideoHeight(instance, videoHandle);
printf("视频高度: %d 像素\n", height);
返回值
整数型:视频高度(像素),失败返回 0。
