aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-07-10 21:11:37 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-07-10 21:11:37 +0200
commit3743ea1fe3761ddbf8bfaae31c6acbf59a8cdc0a (patch)
tree8bb7684a5d847d59eb38709a030875d0f1b1226e
parentfb464fca4486e77d689851d22abe5d08825f7c1d (diff)
downloadffmpeg-3743ea1fe3761ddbf8bfaae31c6acbf59a8cdc0a.tar.gz
Hint why SDL_Init() may have failed.
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
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);
}