libeplayer3-sh4: select audio at start

This commit is contained in:
DboxOldie
2020-02-14 08:22:45 +01:00
committed by Thilo Graf
parent a5fe472896
commit 566ccea279
2 changed files with 2 additions and 2 deletions

View File

@@ -768,7 +768,7 @@ bool Input::SwitchAudio(Track *track)
{
audioTrack = track;
player->output.SwitchAudio(track ? track : NULL);
// player->Seek(-5000, false);
player->Seek((int64_t)(-8 * AV_TIME_BASE), false);
return true;
}

View File

@@ -3140,7 +3140,7 @@ static int32_t container_ffmpeg_switch_audio(Context_t *context, int32_t *arg __
releaseMutex(__FILE__, __FUNCTION__, __LINE__);
/* Hellmaster1024: nothing to do here! */
int64_t sec = -1;
int64_t sec = -3;
context->playback->Command(context, PLAYBACK_SEEK, (void *)&sec);
return cERR_CONTAINER_FFMPEG_NO_ERROR;
}