libeplayer3/container_ffmpeg: don't flush instead of clear

This commit is contained in:
martii
2013-07-27 12:24:50 +02:00
parent 34cb8f4030
commit 4433f4ad43
2 changed files with 7 additions and 5 deletions

View File

@@ -521,7 +521,7 @@ static void FFMPEGThread(Context_t *context) {
avcodec_free_frame(&decoded_frame);
decoded_frame = NULL;
}
context->output->Command(context, OUTPUT_FLUSH, NULL);
context->output->Command(context, OUTPUT_CLEAR, NULL);
context->output->Command(context, OUTPUT_PLAY, NULL);
}