diff --git a/ffplay.c b/ffplay.c
index 60b6207..0a3bd6e 100644
|
a
|
b
|
typedef struct PacketQueue {
|
| 98 | 98 | SDL_cond *cond; |
| 99 | 99 | } PacketQueue; |
| 100 | 100 | |
| 101 | | #define VIDEO_PICTURE_QUEUE_SIZE 2 |
| | 101 | #define VIDEO_PICTURE_QUEUE_SIZE 1 |
| 102 | 102 | #define SUBPICTURE_QUEUE_SIZE 4 |
| 103 | 103 | |
| 104 | 104 | typedef struct VideoPicture { |
| … |
… |
static int video_open(VideoState *is){
|
| 942 | 942 | w = 640; |
| 943 | 943 | h = 480; |
| 944 | 944 | } |
| 945 | | if(screen && is->width == screen->w && screen->w == w |
| 946 | | && is->height== screen->h && screen->h == h) |
| 947 | | return 0; |
| 948 | 945 | |
| 949 | 946 | #ifndef __APPLE__ |
| 950 | 947 | screen = SDL_SetVideoMode(w, h, 0, flags); |