mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 07:50:58 +02:00
libeplayer3-arm: fix playback (thx DboxOldie)
Origin commit data
------------------
Branch: master
Commit: e101b5e253
Author: max_10 <max_10@gmx.de>
Date: 2017-12-20 (Wed, 20 Dec 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -75,10 +75,14 @@ static int32_t PlaybackTerminate(Context_t *context);
|
||||
int8_t PlaybackDieNow(int8_t val)
|
||||
{
|
||||
static int8_t dieNow = 0;
|
||||
if (val)
|
||||
if (val == 1)
|
||||
{
|
||||
dieNow = 1;
|
||||
}
|
||||
else if (val == 2)
|
||||
{
|
||||
dieNow = 0;
|
||||
}
|
||||
return dieNow;
|
||||
}
|
||||
|
||||
@@ -194,6 +198,7 @@ static int PlaybackClose(Context_t *context)
|
||||
free(context->playback->uri);
|
||||
context->playback->uri = NULL;
|
||||
}
|
||||
PlaybackDieNow(2);
|
||||
playback_printf(10, "exiting with value %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user