mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
libeplayer3-arm: Code formatting
Origin commit data
------------------
Branch: master
Commit: 06854b0e78
Author: max_10 <max_10@gmx.de>
Date: 2018-01-17 (Wed, 17 Jan 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -175,9 +175,9 @@ static int PlaybackOpen(Context_t *context, PlayFiles_t *pFiles)
|
||||
return cERR_PLAYBACK_ERROR;
|
||||
}
|
||||
pFiles->szFirstFile = context->playback->uri;
|
||||
if ((context->container->Command(context, CONTAINER_ADD, extension) < 0)
|
||||
|| (!context->container->selectedContainer)
|
||||
|| (context->container->selectedContainer->Command(context, CONTAINER_INIT, pFiles) < 0))
|
||||
if ((context->container->Command(context, CONTAINER_ADD, extension) < 0) ||
|
||||
(!context->container->selectedContainer) ||
|
||||
(context->container->selectedContainer->Command(context, CONTAINER_INIT, pFiles) < 0))
|
||||
{
|
||||
playback_err("CONTAINER_ADD failed\n");
|
||||
return cERR_PLAYBACK_ERROR;
|
||||
@@ -307,8 +307,8 @@ static int32_t PlaybackContinue(Context_t *context)
|
||||
int32_t ret = cERR_PLAYBACK_NO_ERROR;
|
||||
playback_printf(10, "\n");
|
||||
if (context->playback->isPlaying &&
|
||||
(context->playback->isPaused || context->playback->isForwarding ||
|
||||
context->playback->BackWard || context->playback->SlowMotion))
|
||||
(context->playback->isPaused || context->playback->isForwarding ||
|
||||
context->playback->BackWard || context->playback->SlowMotion))
|
||||
{
|
||||
if (context->playback->SlowMotion)
|
||||
context->output->Command(context, OUTPUT_CLEAR, NULL);
|
||||
@@ -440,7 +440,8 @@ static int PlaybackFastBackward(Context_t *context, int *speed)
|
||||
int32_t ret = cERR_PLAYBACK_NO_ERROR;
|
||||
playback_printf(10, "speed = %d\n", *speed);
|
||||
/* Audio only reverse play not supported */
|
||||
if (context->playback->isVideo && !context->playback->isForwarding && (!context->playback->isPaused || context->playback->isPlaying))
|
||||
if (context->playback->isVideo && !context->playback->isForwarding &&
|
||||
(!context->playback->isPaused || context->playback->isPlaying))
|
||||
{
|
||||
if ((*speed > 0) || (*speed < cMaxSpeed_fr))
|
||||
{
|
||||
|
Reference in New Issue
Block a user