mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: speed up termination
This commit is contained in:
@@ -826,6 +826,9 @@ static void FFMPEGThread(Context_t *context) {
|
||||
releaseMutex(FILENAME, __FUNCTION__,__LINE__);
|
||||
} /* while */
|
||||
|
||||
if (context && context->playback && context->output && context->playback->abortRequested)
|
||||
context->output->Command(context, OUTPUT_CLEAR, NULL);
|
||||
|
||||
if (swr)
|
||||
swr_free(&swr);
|
||||
if (decoded_frame)
|
||||
|
Reference in New Issue
Block a user