mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-23 17:13:07 +08:00
[osal]: Fix encoder not working problem at vepu2
For vepu2, kernel 4.4 and previous version, '/dev/vepu' should be used rather than '/dev/vpu_service'. Change-Id: I2efd4a219bbd7dd3cebf226c8ebcede9bcff9823 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:
@@ -442,7 +442,9 @@ MPP_RET vcodec_service_init(void *ctx, MppClientType type)
|
||||
reg_size = VEPU1_REGISTERS;
|
||||
} break;
|
||||
case VPU_CLIENT_VEPU2 : {
|
||||
name = mpp_find_device(mpp_vpu_dev);
|
||||
name = mpp_find_device(mpp_vepu_dev);
|
||||
if (NULL == name)
|
||||
name = mpp_find_device(mpp_vpu_dev);
|
||||
client_type = VPU_ENC;
|
||||
reg_size = VEPU2_REGISTERS;
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user