# vdec_set_chn_attr

#### 功能说明

设置解码通道属性。不支持该接口。

当前版本不支持该接口，功能不生效，调用本接口时返回值为0。


#### 函数原型

- C函数原型
  1 hi_s32 hi_mpi_vdec_set_chn_attr(hi_vdec_chn chn, const hi_vdec_chn_attr *attr)

- python函数
  1 ret = acl.himpi.vdec_set_chn_attr(chn, attr)


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| chn | int，解码通道号。 |
| attr | dict，解码通道属性字典，具体请参见hi\_vdec\_chn\_attr。 |


#### 返回值说明

| 返回值 | 说明 |
| --- | --- |
| ret | ret：int，错误码。 返回0表示成功。 返回非0表示失败，参见VDEC视频/JPEGD图像解码返回码。 |
