libeplayer3: speed up termination

This commit is contained in:
martii
2013-11-02 16:02:33 +01:00
committed by Stefan Seyfried
parent 6b3062d3ec
commit 6cff3e3377
2 changed files with 8 additions and 2 deletions

View File

@@ -828,6 +828,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)