Commit 47f6a039 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22434 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b05896f
...@@ -87,7 +87,7 @@ typedef struct PacketQueue { ...@@ -87,7 +87,7 @@ typedef struct PacketQueue {
SDL_cond *cond; SDL_cond *cond;
} PacketQueue; } PacketQueue;
#define VIDEO_PICTURE_QUEUE_SIZE 1 #define VIDEO_PICTURE_QUEUE_SIZE 2
#define SUBPICTURE_QUEUE_SIZE 4 #define SUBPICTURE_QUEUE_SIZE 4
typedef struct VideoPicture { typedef struct VideoPicture {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment