mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix segfault in backward
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -19,3 +19,6 @@ Makefile.in
|
|||||||
*.o
|
*.o
|
||||||
*.Plo
|
*.Plo
|
||||||
*.Po
|
*.Po
|
||||||
|
|
||||||
|
git-*
|
||||||
|
go_*
|
||||||
|
@@ -578,7 +578,7 @@ static int PlaybackFastBackward(Context_t *context, int *speed)
|
|||||||
context->playback->BackWard = 0;
|
context->playback->BackWard = 0;
|
||||||
context->playback->SlowMotion = 0;
|
context->playback->SlowMotion = 0;
|
||||||
context->playback->Speed = 0;
|
context->playback->Speed = 0;
|
||||||
context->output->Command(context, OUTPUT_AUDIOMUTE, "0");
|
//context->output->Command(context, OUTPUT_AUDIOMUTE, "0");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -589,7 +589,7 @@ static int PlaybackFastBackward(Context_t *context, int *speed)
|
|||||||
context->playback->SlowMotion = 0;
|
context->playback->SlowMotion = 0;
|
||||||
context->playback->Speed = *speed;
|
context->playback->Speed = *speed;
|
||||||
context->playback->isSeeking = 1;
|
context->playback->isSeeking = 1;
|
||||||
context->output->Command(context, OUTPUT_AUDIOMUTE, "1");
|
//context->output->Command(context, OUTPUT_AUDIOMUTE, "1");
|
||||||
playback_printf(1, "Speed: %d, Backward: %d\n", context->playback->Speed, context->playback->BackWard);
|
playback_printf(1, "Speed: %d, Backward: %d\n", context->playback->Speed, context->playback->BackWard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user