mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libeplayer3-sh4: select audio at start
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user