From e60eccbb19e7dd69f5621e767b1ed9c308f6b20b Mon Sep 17 00:00:00 2001 From: redblue-pkt Date: Sun, 6 Jan 2019 20:48:47 +0100 Subject: [PATCH] fastforward: move VIDEO_CONTINUE from playback.c to linuxdvb_mipsel.c Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/99a5389414585c2dcd84bf2cc1ae6e93736d36e0 Author: redblue-pkt Date: 2019-01-06 (Sun, 06 Jan 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3-arm/output/linuxdvb_mipsel.c | 5 +++++ libeplayer3-arm/playback/playback.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libeplayer3-arm/output/linuxdvb_mipsel.c b/libeplayer3-arm/output/linuxdvb_mipsel.c index 3ac2b72..e1e85d1 100644 --- a/libeplayer3-arm/output/linuxdvb_mipsel.c +++ b/libeplayer3-arm/output/linuxdvb_mipsel.c @@ -502,6 +502,11 @@ int LinuxDvbFastForward(Context_t *context, char *type) linuxdvb_err("VIDEO_FAST_FORWARD: ERROR %d, %s\n", errno, strerror(errno)); 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__); } diff --git a/libeplayer3-arm/playback/playback.c b/libeplayer3-arm/playback/playback.c index 781bf4f..d8d7279 100644 --- a/libeplayer3-arm/playback/playback.c +++ b/libeplayer3-arm/playback/playback.c @@ -540,7 +540,6 @@ static int PlaybackFastForward(Context_t *context, int *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_AUDIOMUTE, "1"); - context->output->Command(context, OUTPUT_CONTINUE, NULL); } else {