Ticket #1402: patchnodisplay.diff

File patchnodisplay.diff, 464 bytes (added by cehoyos, 4 years ago)
  • ffplay.c

    diff --git a/ffplay.c b/ffplay.c
    index 260391f..7c88341 100644
    a b int main(int argc, char **argv) 
    32483248    flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER; 
    32493249    if (audio_disable) 
    32503250        flags &= ~SDL_INIT_AUDIO; 
     3251    if(video_disable) 
     3252        flags &= ~SDL_INIT_VIDEO; 
    32513253#if !defined(__MINGW32__) && !defined(__APPLE__) 
    32523254    flags |= SDL_INIT_EVENTTHREAD; /* Not supported on Windows or Mac OS X */ 
    32533255#endif