[FFmpeg-cvslog] r22434 - trunk/ffplay.c

michael subversion
Wed Mar 10 16:45:46 CET 2010


Author: michael
Date: Wed Mar 10 16:45:46 2010
New Revision: 22434

Log:
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

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Wed Mar 10 16:39:31 2010	(r22433)
+++ trunk/ffplay.c	Wed Mar 10 16:45:46 2010	(r22434)
@@ -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 {



More information about the ffmpeg-cvslog mailing list