mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fastforward: move VIDEO_CONTINUE from playback.c to linuxdvb_mipsel.c
This commit is contained in:
@@ -502,6 +502,11 @@ int LinuxDvbFastForward(Context_t *context, char *type)
|
|||||||
linuxdvb_err("VIDEO_FAST_FORWARD: ERROR %d, %s\n", errno, strerror(errno));
|
linuxdvb_err("VIDEO_FAST_FORWARD: ERROR %d, %s\n", errno, strerror(errno));
|
||||||
ret = cERR_LINUXDVB_ERROR;
|
ret = cERR_LINUXDVB_ERROR;
|
||||||
}
|
}
|
||||||
|
if (ioctl(videofd, VIDEO_CONTINUE, NULL) == -1)
|
||||||
|
{
|
||||||
|
linuxdvb_err("VIDEO_CONTINUE: ERROR %d, %s\n", errno, strerror(errno));
|
||||||
|
ret = cERR_LINUXDVB_ERROR;
|
||||||
|
}
|
||||||
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -540,7 +540,6 @@ static int PlaybackFastForward(Context_t *context, int *speed)
|
|||||||
playback_printf(20, "Speed: %d x {%d}\n", *speed, context->playback->Speed);
|
playback_printf(20, "Speed: %d x {%d}\n", *speed, context->playback->Speed);
|
||||||
context->output->Command(context, OUTPUT_FASTFORWARD, NULL);
|
context->output->Command(context, OUTPUT_FASTFORWARD, NULL);
|
||||||
context->output->Command(context, OUTPUT_AUDIOMUTE, "1");
|
context->output->Command(context, OUTPUT_AUDIOMUTE, "1");
|
||||||
context->output->Command(context, OUTPUT_CONTINUE, NULL);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user