From 562f382cab4f6fe098e203c7adced59cc6299017 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 10 Mar 2010 15:45:46 +0000 Subject: [PATCH] Increase VIDEO_PICTURE_QUEUE_SIZE to 2. this allows more asynchronous decoding and display thus improving video smoothness. It also seems to improve absolute video decoding speed for some reason Originally committed as revision 22434 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index fb99d9ad3e..89650e496a 100644 --- a/ffplay.c +++ b/ffplay.c @@ -87,7 +87,7 @@ typedef struct PacketQueue { SDL_cond *cond; } PacketQueue; -#define VIDEO_PICTURE_QUEUE_SIZE 1 +#define VIDEO_PICTURE_QUEUE_SIZE 2 #define SUBPICTURE_QUEUE_SIZE 4 typedef struct VideoPicture {