#546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------
Comment (by cbsrobot): I found a solution for this issue (see below), but there is another issue left: http://forums.libsdl.org/viewtopic.php?t=6768&sid=ebc8e29fdcde2a301c0e7c723dca2696 is there a nice workaround for this problem ? {{{ diff --git a/ffplay.c b/ffplay.c index 46eff5c..a50d98e 100644 --- a/ffplay.c +++ b/ffplay.c @@ -940,12 +940,7 @@ static int video_open(VideoState *is){ && is->height== screen->h && screen->h == h) return 0; -#ifndef __APPLE__ screen = SDL_SetVideoMode(w, h, 0, flags); -#else - /* setting bits_per_pixel = 0 or 32 causes blank video on OS X */ - screen = SDL_SetVideoMode(w, h, 24, flags); -#endif if (!screen) { fprintf(stderr, "SDL: could not set video mode - exiting\n"); do_exit(is); }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/546#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac