sh4 fix mp3 (thx DBoxOldie)

Origin commit data
------------------
Branch: master
Commit: dcdaf06289
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-02-06 (Thu, 06 Feb 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2020-02-06 18:46:29 +01:00
committed by vanhofen
parent 7d62ce97a9
commit d283282a45
2 changed files with 6 additions and 3 deletions

View File

@@ -265,8 +265,9 @@ bool Input::Play()
}
if (!player->isBackWard) {
int64_t pts = calcPts(stream, packet.pts);
if (!player->output.Write(stream, &packet, _videoTrack ? pts : 0))
logprintf("writing data to audio device failed\n");
//if (!player->output.Write(stream, &packet, _videoTrack ? pts : 0)) // DBO: why pts only at video tracks ?
if (!player->output.Write(stream, &packet, pts))
logprintf("writing data to audio device failed\n");
}
audioSeen = true;
} else if (_subtitleTrack && (_subtitleTrack->stream == stream)) {