mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
supplement to b232a8f225
, fix segfault with only audio stream
This commit is contained in:
@@ -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