Fixed bug number 10204.

This commit is contained in:
xiaojiazhu 2023-12-19 14:52:25 +08:00
parent 60a77deb0d
commit 488c4c1e34
2 changed files with 7 additions and 1 deletions

View File

@ -1398,7 +1398,7 @@ static void UIFlowPhoto_ScrOpen(lv_obj_t* obj)
/* never closed */ /* never closed */
gPhotoData.State = PHOTO_ST_WARNING_MENU; gPhotoData.State = PHOTO_ST_WARNING_MENU;
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000); // UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
// UIFlowMenuCommonConfirmAPI_Open(IDM_FORMAT); // UIFlowMenuCommonConfirmAPI_Open(IDM_FORMAT);
// return; // return;
#endif #endif

View File

@ -110,6 +110,11 @@ static void UIFlowPlay_IconImageSize(BOOL bShow)
} else { } else {
OriImgHeight = (UINT32)hd_vdoframe_info.dim.h; OriImgHeight = (UINT32)hd_vdoframe_info.dim.h;
} }
if (uiFileFmt & (PBFMT_MOVMJPG | PBFMT_AVI | PBFMT_MP4 | PBFMT_TS)) {
lv_obj_set_hidden(container_play_scr_uiflowplay, false);
} else {
lv_obj_set_hidden(container_play_scr_uiflowplay, true);
}
//hide icon //hide icon
if (bShow == FALSE) { if (bShow == FALSE) {
@ -988,6 +993,7 @@ static void UIFlowPlay_ScrOpen(lv_obj_t* obj)
update_playicons(g_PlbData.State); update_playicons(g_PlbData.State);
// Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PHOTO); // Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PHOTO);
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, 3000); UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, 3000);
lv_obj_set_hidden(container_play_scr_uiflowplay, true);
return; return;
} }