You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Hint why SDL_Init() may have failed.
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user