[FFmpeg-devel] ffplay with SDL-1.3, Mac OS X, broken

Yonas . googelly.eyes
Tue Dec 16 22:14:39 CET 2008


I compiled ffmpeg (svn) with SDL-1.2.13, and ffplay works on Mac OS X 10.5.5
When compiled with SDL-1.3 (svn), audio works for movies and audio files,
but video shows a white screen. Video isn't totally broken, because the
"show waves" feature works.

What's interesting is that this line exists in ffplay.c:

#ifndef __APPLE__
    screen = SDL_SetVideoMode(w, h, 0, flags);
    /* setting bits_per_pixel = 0 or 32 causes blank video on OS X */
    screen = SDL_SetVideoMode(w, h, 24, flags);

but does not seem to fix the problem with SDL-1.3.

What could the problem be?
- Yonas

More information about the ffmpeg-devel mailing list