Make sure audio stream is present
This commit is contained in:
parent
891d223a4f
commit
1fcbc46814
1 changed files with 1 additions and 1 deletions
|
@ -1174,7 +1174,7 @@ int sceMpegGetAtracAu(u32 mpeg, u32 streamId, u32 auAddr, u32 attrAddr)
|
|||
result = ERROR_MPEG_NO_DATA;
|
||||
}
|
||||
|
||||
if (ctx->mediaengine->IsNoAudioData() && !ctx->endOfAudioReached) {
|
||||
if (ctx->atracRegistered && ctx->mediaengine->IsNoAudioData() && !ctx->endOfAudioReached) {
|
||||
WARN_LOG(ME, "Audio end reach. pts: %i dts: %i", (int)atracAu.pts, (int)ctx->mediaengine->getLastTimeStamp());
|
||||
ctx->endOfAudioReached = true;
|
||||
result = ERROR_MPEG_NO_DATA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue