forked from FFmpeg/FFmpeg
Hint why SDL_Init() may have failed.
This commit is contained in:
parent
fb464fca44
commit
3743ea1fe3
1 changed files with 1 additions and 0 deletions
1
ffplay.c
1
ffplay.c
|
@ -3027,6 +3027,7 @@ int main(int argc, char **argv)
|
||||||
#endif
|
#endif
|
||||||
if (SDL_Init (flags)) {
|
if (SDL_Init (flags)) {
|
||||||
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
|
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
|
||||||
|
fprintf(stderr, "(Did you set the DISPLAY variable?)\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue