mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libspark/player, libeplayer3/ffmpeg: improve termination handling
This commit is contained in:
@@ -346,7 +346,7 @@ static void FFMPEGThread(Context_t *context) {
|
|||||||
}
|
}
|
||||||
ffmpeg_printf(10, "Running!\n");
|
ffmpeg_printf(10, "Running!\n");
|
||||||
|
|
||||||
while ( context && context->playback && context->playback->isPlaying ) {
|
while ( context && context->playback && context->playback->isPlaying && !context->playback->abortRequested ) {
|
||||||
|
|
||||||
//IF MOVIE IS PAUSED, WAIT
|
//IF MOVIE IS PAUSED, WAIT
|
||||||
if (context->playback->isPaused) {
|
if (context->playback->isPaused) {
|
||||||
|
Reference in New Issue
Block a user