aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-03-10 15:45:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-03-10 15:45:46 +0000
commit562f382cab4f6fe098e203c7adced59cc6299017 (patch)
treecc80324a46ea23126ea5c9deec688bd29cc5a9e6
parentd3d7b12edfd88f9915e699b083adb55c93f5d586 (diff)
downloadffmpeg-562f382cab4f6fe098e203c7adced59cc6299017.tar.gz
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
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
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 {