Fixed bug about play screen.
This commit is contained in:
parent
37f7cd1481
commit
5481dd9b5f
|
@ -1450,6 +1450,33 @@ static void UIFlowPlay_OnKeySelect(lv_obj_t* obj)
|
|||
static void UIFlowPlay_Exit(lv_obj_t* obj)
|
||||
{
|
||||
// Ux_SendEvent(&UISetupObjCtrl, NVTEVT_PREVIEWMODE, 0);
|
||||
if(PLB_ST_PLAY_MOV == g_PlbData.State)
|
||||
{
|
||||
printf("now stop play the video.\n");
|
||||
g_PlbData.State = PLB_ST_FULL;
|
||||
lv_plugin_img_set_src(image_play_scr_uiflowplay, LV_PLUGIN_IMG_ID_SF_STOP);
|
||||
lv_label_set_text_fmt(label_playtime_scr_uiflowplay, "%02d:%02d", 0, 0);
|
||||
g_PlbData.VideoPBSpeed = PLB_FWD_MOV_1x;
|
||||
|
||||
// Close MoviePlay module.
|
||||
Ux_SendEvent(0, NVTEVT_EXE_CLOSEPLAY, 0);
|
||||
Ux_SetActiveApp(&CustomPlayObjCtrl);
|
||||
|
||||
// Wakeup playback task and ImageApp_Play module.
|
||||
Ux_SendEvent(0, NVTEVT_EXE_OPEN, 0);
|
||||
KeyScan_EnableMisc(TRUE);
|
||||
if (gphUIFlowMovPlay_Filehdl)
|
||||
{
|
||||
FileSys_CloseFile(gphUIFlowMovPlay_Filehdl);
|
||||
gphUIFlowMovPlay_Filehdl = NULL;
|
||||
}
|
||||
PBView_DrawErrorView();
|
||||
|
||||
// Play 1st video frame image
|
||||
UIPlay_PlaySingle(PB_SINGLE_CURR);
|
||||
update_playicons(g_PlbData.State);
|
||||
// return;
|
||||
}
|
||||
UINT32 uiChangeTo;
|
||||
uiChangeTo = System_GetBootFirstMode();
|
||||
UINT32 uiCurrMode;
|
||||
|
|
Loading…
Reference in New Issue
Block a user