mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
close pmpdecoder after video playing.
This commit is contained in:
parent
99cf2654b7
commit
46214c91dc
1 changed files with 4 additions and 0 deletions
|
@ -1012,6 +1012,9 @@ void __VideoPmpShutdown() {
|
||||||
}
|
}
|
||||||
pmp_queue.clear();
|
pmp_queue.clear();
|
||||||
pmp_ContextList.clear();
|
pmp_ContextList.clear();
|
||||||
|
if (pmpframes){
|
||||||
|
delete pmpframes;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1516,6 +1519,7 @@ u32 sceMpegFinish()
|
||||||
//return ERROR_MPEG_NOT_YET_INIT;
|
//return ERROR_MPEG_NOT_YET_INIT;
|
||||||
} else {
|
} else {
|
||||||
INFO_LOG(ME, "sceMpegFinish(...)");
|
INFO_LOG(ME, "sceMpegFinish(...)");
|
||||||
|
__VideoPmpShutdown();
|
||||||
}
|
}
|
||||||
isMpegInit = false;
|
isMpegInit = false;
|
||||||
//__MpegFinish();
|
//__MpegFinish();
|
||||||
|
|
Loading…
Add table
Reference in a new issue