[FFmpeg-devel] [PATCH 2/2] ffplay: fix missing blue channel when switching from/to fullscren on OSX and libsdl 1.2.14. Fixes issue 548

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 19 14:52:53 CEST 2011


Jean First <jeanfirst <at> gmail.com> writes:

> +#if defined(__APPLE__) && SDL_VERSION_ATLEAST(1, 2, 14)
> +    /* OSX needs to empty the picture_queue */
> +    free_all_pictures(is);
> +#else
>      video_open(is);
> +#endif

Does it work on OS X if you instead do
    free_all_pictures(is);
    video_open(is);
?

Carl Eugen



More information about the ffmpeg-devel mailing list