mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Hint why SDL_Init() may have failed.
This commit is contained in:
parent
fb464fca44
commit
3743ea1fe3
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…
Reference in New Issue
Block a user