mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Check scePsmfPlayerStart() params like the PSP.
It doesn't care if there's actually audio data here.
This commit is contained in:
1 parent
cd9d85caff
commit
ceebdca2fb
1 file changed
+1
-1
@@ -1287,7 +1287,7 @@ int scePsmfPlayerStart(u32 psmfPlayer, u32 psmfPlayerData, int initPts)
|
||||
psmfplayer->mediaengine->setVideoStream(playerData->videoStreamNum);
|
||||
psmfplayer->videoCodec = playerData->videoCodec;
|
||||
psmfplayer->videoStreamNum = playerData->videoStreamNum;
|
||||
if (!psmfplayer->mediaengine->IsNoAudioData()) {
|
||||
if (psmfplayer->totalAudioStreams > 0) {
|
||||
psmfplayer->mediaengine->setAudioStream(playerData->audioStreamNum);
|
||||
psmfplayer->audioCodec = playerData->audioCodec;
|
||||
psmfplayer->audioStreamNum = playerData->audioStreamNum;
|
||||
|
||||
Reference in new issue
Block a user