From 3743ea1fe3761ddbf8bfaae31c6acbf59a8cdc0a Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 10 Jul 2011 21:11:37 +0200 Subject: [PATCH] Hint why SDL_Init() may have failed. --- ffplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffplay.c b/ffplay.c index a8be6bea2d..40e0cc1ef4 100644 --- a/ffplay.c +++ 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"); exit(1); }