close pmpdecoder after video playing.

This commit is contained in:
kaienfr 2014-04-07 19:52:33 +02:00
parent 99cf2654b7
commit 46214c91dc

View File

@ -1012,6 +1012,9 @@ void __VideoPmpShutdown() {
}
pmp_queue.clear();
pmp_ContextList.clear();
if (pmpframes){
delete pmpframes;
}
#endif
}
@ -1516,6 +1519,7 @@ u32 sceMpegFinish()
//return ERROR_MPEG_NOT_YET_INIT;
} else {
INFO_LOG(ME, "sceMpegFinish(...)");
__VideoPmpShutdown();
}
isMpegInit = false;
//__MpegFinish();