mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3-sh4: select audio at start
Origin commit data
------------------
Branch: master
Commit: 8a7efa7d70
Author: DboxOldie <DboxOdlie@users.noreply.github.com>
Date: 2020-02-14 (Fri, 14 Feb 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -768,7 +768,7 @@ bool Input::SwitchAudio(Track *track)
|
|||||||
{
|
{
|
||||||
audioTrack = track;
|
audioTrack = track;
|
||||||
player->output.SwitchAudio(track ? track : NULL);
|
player->output.SwitchAudio(track ? track : NULL);
|
||||||
// player->Seek(-5000, false);
|
player->Seek((int64_t)(-8 * AV_TIME_BASE), false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -3140,7 +3140,7 @@ static int32_t container_ffmpeg_switch_audio(Context_t *context, int32_t *arg __
|
|||||||
releaseMutex(__FILE__, __FUNCTION__, __LINE__);
|
releaseMutex(__FILE__, __FUNCTION__, __LINE__);
|
||||||
|
|
||||||
/* Hellmaster1024: nothing to do here! */
|
/* Hellmaster1024: nothing to do here! */
|
||||||
int64_t sec = -1;
|
int64_t sec = -3;
|
||||||
context->playback->Command(context, PLAYBACK_SEEK, (void *)&sec);
|
context->playback->Command(context, PLAYBACK_SEEK, (void *)&sec);
|
||||||
return cERR_CONTAINER_FFMPEG_NO_ERROR;
|
return cERR_CONTAINER_FFMPEG_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user