[libarmbox] libeplayer3-arm code format

Origin commit data
------------------
Branch: master
Commit: f66e4edd3f
Author: max_10 <max_10@gmx.de>
Date: 2018-08-30 (Thu, 30 Aug 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-08-30 21:19:18 +02:00
parent 7553673d40
commit 207e36bbb3
4 changed files with 35 additions and 10 deletions

View File

@@ -192,10 +192,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_CLOSE, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_CLOSE, "audio");
}
if (context->playback->isSubtitle)
{
ret |= context->output->subtitle->Command(context, OUTPUT_CLOSE, "subtitle");
@@ -239,6 +241,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret = context->output->audio->Command(context, OUTPUT_PLAY, "audio");
}
if (!ret)
{
if (context->playback->isSubtitle)
@@ -261,10 +264,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_STOP, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_STOP, "audio");
}
if (context->playback->isSubtitle)
{
ret |= context->output->subtitle->Command(context, OUTPUT_STOP, "subtitle");
@@ -284,10 +289,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_FLUSH, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_FLUSH, "audio");
}
if (context->playback->isSubtitle)
{
ret |= context->output->subtitle->Command(context, OUTPUT_FLUSH, "subtitle");
@@ -307,10 +314,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_PAUSE, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_PAUSE, "audio");
}
if (context->playback->isSubtitle)
{
ret |= context->output->subtitle->Command(context, OUTPUT_PAUSE, "subtitle");
@@ -330,6 +339,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_FASTFORWARD, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_FASTFORWARD, "audio");
@@ -349,6 +359,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_REVERSE, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_REVERSE, "audio");
@@ -368,10 +379,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_CONTINUE, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_CONTINUE, "audio");
}
if (context->playback->isSubtitle)
{
ret |= context->output->subtitle->Command(context, OUTPUT_CONTINUE, "subtitle");
@@ -406,10 +419,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_CLEAR, "video");
}
if (context->playback->isAudio && (argument == NULL || *(char *) argument == 'a'))
{
ret |= context->output->audio->Command(context, OUTPUT_CLEAR, "audio");
}
if (context->playback->isSubtitle && (argument == NULL || *(char *) argument == 's'))
{
ret |= context->output->subtitle->Command(context, OUTPUT_CLEAR, "subtitle");
@@ -429,6 +444,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
return context->output->video->Command(context, OUTPUT_PTS, argument);
}
if (context->playback->isAudio)
{
return context->output->audio->Command(context, OUTPUT_PTS, argument);
@@ -448,10 +464,12 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
return context->output->audio->Command(context, OUTPUT_SWITCH, "audio");
}
if (context->playback->isVideo)
{
return context->output->video->Command(context, OUTPUT_SWITCH, "video");
}
if (context->playback->isSubtitle)
{
return context->output->subtitle->Command(context, OUTPUT_SWITCH, "subtitle");
@@ -471,6 +489,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
ret |= context->output->video->Command(context, OUTPUT_SLOWMOTION, "video");
}
if (context->playback->isAudio)
{
ret |= context->output->audio->Command(context, OUTPUT_SLOWMOTION, "audio");
@@ -520,6 +539,7 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
{
return context->output->video->Command(context, OUTPUT_GET_FRAME_COUNT, argument);
}
if (context->playback->isAudio)
{
return context->output->audio->Command(context, OUTPUT_GET_FRAME_COUNT, argument);