[mpp]: fix compile error on windows

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1191 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-08-11 10:16:44 +00:00
parent fcd19acd9e
commit 4f7f69c1ae
9 changed files with 61 additions and 27 deletions

View File

@@ -162,7 +162,7 @@ int mpi_enc_test(MpiEncTestCmd *cmd)
mpp_cfg.width = width;
mpp_cfg.height = height;
mpp_cfg.format = fmt;
mpp_cfg.rc_mode = 1;
mpp_cfg.rc_mode = 0;
mpp_cfg.skip_cnt = 0;
mpp_cfg.fps_in = 30;
mpp_cfg.fps_out = 30;
@@ -238,7 +238,7 @@ int mpi_enc_test(MpiEncTestCmd *cmd)
}
if (task == NULL) {
mpp_log("mpi dequeue from MPP_PORT_INPUT fail, task equal with NULL!");
usleep(3000);
msleep(3);
} else {
MppFrame frame_out = NULL;