Ticket #173: ffplay.diff

File ffplay.diff, 619 bytes (added by ami_stuff, 15 years ago)
  • ffplay.c

    diff --git a/ffplay.c b/ffplay.c
    index 60b6207..0a3bd6e 100644
    a b typedef struct PacketQueue {  
    9898    SDL_cond *cond;
    9999} PacketQueue;
    100100
    101 #define VIDEO_PICTURE_QUEUE_SIZE 2
     101#define VIDEO_PICTURE_QUEUE_SIZE 1
    102102#define SUBPICTURE_QUEUE_SIZE 4
    103103
    104104typedef struct VideoPicture {
    static int video_open(VideoState *is){  
    942942        w = 640;
    943943        h = 480;
    944944    }
    945     if(screen && is->width == screen->w && screen->w == w
    946        && is->height== screen->h && screen->h == h)
    947         return 0;
    948945
    949946#ifndef __APPLE__
    950947    screen = SDL_SetVideoMode(w, h, 0, flags);