mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
fix fastforward
This commit is contained in:
@@ -399,6 +399,7 @@ static int32_t PlaybackContinue(Context_t *context)
|
|||||||
if (context->playback->SlowMotion || context->playback->isForwarding || context->playback->BackWard)
|
if (context->playback->SlowMotion || context->playback->isForwarding || context->playback->BackWard)
|
||||||
context->output->Command(context, OUTPUT_CLEAR, NULL);
|
context->output->Command(context, OUTPUT_CLEAR, NULL);
|
||||||
|
|
||||||
|
context->output->Command(context, OUTPUT_PAUSE, NULL);
|
||||||
context->output->Command(context, OUTPUT_CONTINUE, NULL);
|
context->output->Command(context, OUTPUT_CONTINUE, NULL);
|
||||||
|
|
||||||
if (context->playback->BackWard)
|
if (context->playback->BackWard)
|
||||||
@@ -539,7 +540,7 @@ static int PlaybackFastForward(Context_t *context, int *speed)
|
|||||||
context->playback->Speed = *speed;
|
context->playback->Speed = *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_CONTINUE, NULL);
|
//context->output->Command(context, OUTPUT_CONTINUE, NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user