mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/playback: speed up abort
Origin commit data
------------------
Branch: master
Commit: 43b0c8c184
Author: martii <m4rtii@gmx.de>
Date: 2013-12-11 (Wed, 11 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -413,7 +413,7 @@ static int PlaybackTerminate(Context_t * context)
|
||||
if (context && context->playback && context->playback->isPlaying) {
|
||||
//First Flush and than delete container, else e2 cant read length of file anymore
|
||||
|
||||
if (context->output->Command(context, OUTPUT_FLUSH, NULL) < 0) {
|
||||
if (!context->playback->abortRequested && context->output->Command(context, OUTPUT_FLUSH, NULL) < 0) {
|
||||
playback_err("failed to flush output.\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user