[FFmpeg-devel] [PATCH]Give ffplay users a hint why SDL_init may have failed

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jul 10 21:30:08 CEST 2011


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> +++ b/ffplay.c
> @@ -3027,6 +3027,7 @@ int main(int argc, char **argv)
>  #endif
>      if (SDL_Init (flags)) {
>          fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
> +        fprintf(stderr, "(Did you set the DISPLAY variable?)\n");

Pushed.

Carl Eugen



More information about the ffmpeg-devel mailing list