git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d7b12
)
Increase VIDEO_PICTURE_QUEUE_SIZE to 2.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 10 Mar 2010 15:45:46 +0000
(15:45 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 10 Mar 2010 15:45:46 +0000
(15:45 +0000)
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
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
fb99d9a
..
89650e4
100644
(file)
--- 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 {