diff --git a/libeplayer3-sh4/input.cpp b/libeplayer3-sh4/input.cpp index 4663df6..9ade24c 100644 --- a/libeplayer3-sh4/input.cpp +++ b/libeplayer3-sh4/input.cpp @@ -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; } diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index 9655e37..75109ac 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -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; }