mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp]: return get_frame error on non-block mode
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@373 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -46,6 +46,7 @@ int mpi_test()
|
||||
|
||||
MpiCmd cmd = MPP_CMD_BASE;
|
||||
MppParam param = NULL;
|
||||
RK_U32 output_block = 1;
|
||||
|
||||
RK_S32 i;
|
||||
char *buf = NULL;
|
||||
@@ -71,7 +72,8 @@ int mpi_test()
|
||||
}
|
||||
|
||||
// NOTE: decoder do not need control function
|
||||
|
||||
cmd = MPP_SET_OUTPUT_BLOCK;
|
||||
param = &output_block;
|
||||
ret = mpi->control(ctx, cmd, param);
|
||||
if (MPP_OK != ret) {
|
||||
mpp_err("mpi->control failed\n");
|
||||
|
Reference in New Issue
Block a user