添加回放界面PlayExe_OnOpen输出
This commit is contained in:
parent
e1d467900d
commit
b41cb5454b
|
@ -233,7 +233,7 @@ BOOL PBDecVideoCB(UINT32 uiUserDataAddr, UINT32 uiUserDataSize)
|
|||
*/
|
||||
INT32 PlayExe_OnOpen(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray)
|
||||
{
|
||||
|
||||
printf("[------------------------------------------------------------------------------------------------------------------]\n");
|
||||
UINT32 useFileDB = 0;
|
||||
UINT32 uiPoolAddr = (UINT32)mempool_filedb;
|
||||
|
||||
|
@ -260,7 +260,7 @@ INT32 PlayExe_OnOpen(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray)
|
|||
if (useFileDB) {
|
||||
CHAR *rootPath = "A:\\";
|
||||
//CHAR* defaultfolder="A:\\CarDV\\";
|
||||
|
||||
printf("[---------useFileDB IN -]%d\n", useFileDB);
|
||||
PPBX_FLIST_OBJ pFlist = PBXFList_FDB_getObject();
|
||||
pFlist->Config(PBX_FLIST_CONFIG_MEM, uiPoolAddr, POOL_SIZE_FILEDB);
|
||||
pFlist->Config(PBX_FLIST_CONFIG_MAX_FILENUM, 5000, 0);
|
||||
|
@ -275,6 +275,7 @@ INT32 PlayExe_OnOpen(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray)
|
|||
pFlist->Config(PBX_FLIST_CONFIG_SUPPORT_LONGNAME, 1, 0);
|
||||
PB_SetParam(PBPRMID_FILELIST_OBJ, (UINT32)pFlist);
|
||||
} else {
|
||||
printf("[---------useFileDB not in -]%d\n", useFileDB);
|
||||
PB_SetParam(PBPRMID_FILELIST_OBJ, (UINT32)PBXFList_DCF_getObject());
|
||||
}
|
||||
PB_SetParam(PBPRMID_DEC_VIDEO_CALLBACK, (UINT32)PBDecVideoCB);
|
||||
|
|
|
@ -46,7 +46,7 @@ static void task_msgbox_timer_cb(lv_task_t* task)
|
|||
if (0 == autoClose || autoOffTime <= 10)
|
||||
{
|
||||
|
||||
//sf_set_pir_statu_flag(0);
|
||||
|
||||
lv_task_del(msgbox_timer);
|
||||
msgbox_timer = NULL;
|
||||
if (msgbox)
|
||||
|
@ -56,6 +56,7 @@ static void task_msgbox_timer_cb(lv_task_t* task)
|
|||
}
|
||||
if (0 == autoClose)
|
||||
{
|
||||
sf_set_pir_statu_flag(1);
|
||||
// OpenClosingScreen(DISPLAY_FINAL_DO_NOT_SHOW_POWER_OFF);
|
||||
#define DO_NOT_SHOW_POWER_OFF 0
|
||||
Ux_PostEvent(NVTEVT_SYSTEM_SHUTDOWN, 2, APP_POWER_OFF_APO, DO_NOT_SHOW_POWER_OFF);
|
||||
|
|
Loading…
Reference in New Issue
Block a user