mirror of
				https://github.com/nyanmisaka/mpp.git
				synced 2025-10-31 12:36:44 +08:00 
			
		
		
		
	feat[kmpp]: Set chan_fd to init cfg
Depend on the commit: 270375: feat[kmpp_venc_objs]: Add chan_fd to init cfg | https://10.10.10.29/c/rk/mpp/+/270375 Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I5d174695f023cf306e7f4df59243d21f255c2bc3
This commit is contained in:
		| @@ -103,6 +103,7 @@ static MPP_RET init(Kmpp *ctx, MppCtxType type, MppCodingType coding) | ||||
|     hnd = kmpp_obj_to_shm(ctx->mVencInitKcfg); | ||||
|     size = kmpp_obj_to_shm_size(ctx->mVencInitKcfg); | ||||
|     kmpp_obj_get_u32(ctx->mVencInitKcfg, "chan_dup", &ctx->mChanDup); | ||||
|     kmpp_obj_set_s32(ctx->mVencInitKcfg, "chan_fd", ctx->mClientFd); | ||||
|  | ||||
|     ret = mpp_vcodec_ioctl(ctx->mClientFd, VCODEC_CHAN_CREATE, 0, size, hnd); | ||||
|     if (ret) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yandong Lin
					Yandong Lin