libeplayer3-arm: fix fast forward (thx DboxOldie)

Conflicts:
	libeplayer3-arm/playback/playback.c

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
Frankenstone
2018-01-19 15:09:41 +01:00
committed by Thilo Graf
parent 3e166e6123
commit fc5c510334
2 changed files with 6 additions and 2 deletions

View File

@@ -401,6 +401,10 @@ int LinuxDvbContinue(Context_t *context __attribute__((unused)), char *type)
linuxdvb_printf(10, "v%d a%d\n", video, audio);
if (video && videofd != -1)
{
if (context->playback->isForwarding == 0)
{
ioctl(videofd, VIDEO_FAST_FORWARD, 0);
}
if (ioctl(videofd, VIDEO_CONTINUE, NULL) == -1)
{
linuxdvb_err("ioctl failed with errno %d\n", errno);