libeplayer3/container_ffmpeg: don't flush instead of clear

This commit is contained in:
martii
2013-07-27 12:24:50 +02:00
committed by Stefan Seyfried
parent 8e0c61ead0
commit 75da827371
2 changed files with 7 additions and 5 deletions

View File

@@ -523,7 +523,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);
}