diff --git a/hal_av_pipeline.c b/hal_av_pipeline.c index 7e6098c..f4f77b5 100644 --- a/hal_av_pipeline.c +++ b/hal_av_pipeline.c @@ -366,15 +366,13 @@ int AVP_Stop(AVP_HANDLE player) { AVP_SetAudioMute(player, TRUE); HRESULT ret; - amp_log(socPlayerInfo->pip ? 1:0, "AMP_VOUT_SetLastFrameMode, socPlayerInfo->amp_vout in" ); - AMP_RPC(ret, AMP_VOUT_SetLastFrameMode, socPlayerInfo->amp_vout, socPlayerInfo->playerConfig.keep_last_frame ? AMP_VOUT_KEEPLASTFRAME:0); - assert(ret == SUCCESS); - amp_zapping_mgr_stop_service(player); - if( !socPlayerInfo->playerConfig.keep_last_frame ) { AMP_RPC(ret, AMP_DISP_Push_BuildInFrame, socPlayerInfo->amp_disp, socPlayerInfo->pip ? 1:0, 0); } + + amp_zapping_mgr_stop_service(player); + #ifdef AMP_LOG_WRITE_FILE if(logFp[socPlayerInfo->pip ? 1:0] != NULL)