mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 16:00:58 +02:00
supplement to 4bd66ae15d
, fix segfault with only audio stream
Origin commit data
------------------
Branch: master
Commit: e93920680b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-02-11 (Sun, 11 Feb 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
TangoCash
parent
a357d08b45
commit
0b3bcc1628
@@ -228,12 +228,9 @@ static int Command(void *_context, OutputCmd_t command, void *argument)
|
||||
ret = cERR_OUTPUT_INTERNAL_ERROR;
|
||||
|
||||
// success or not executed, dunn care
|
||||
if (!ret)
|
||||
if (context->playback->isAudio)
|
||||
{
|
||||
if (context->playback->isAudio)
|
||||
{
|
||||
ret = context->output->audio->Command(context, OUTPUT_PLAY, "audio");
|
||||
}
|
||||
ret = context->output->audio->Command(context, OUTPUT_PLAY, "audio");
|
||||
}
|
||||
if (!ret)
|
||||
{
|
||||
|
Reference in New Issue
Block a user