[FFmpeg-cvslog] Hint why SDL_Init() may have failed.

Carl Eugen Hoyos git at videolan.org
Sun Jul 10 21:12:25 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Jul 10 21:11:37 2011 +0200| [3743ea1fe3761ddbf8bfaae31c6acbf59a8cdc0a] | committer: Carl Eugen Hoyos

Hint why SDL_Init() may have failed.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3743ea1fe3761ddbf8bfaae31c6acbf59a8cdc0a
---

 ffplay.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index a8be6be..40e0cc1 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);
     }
 



More information about the ffmpeg-cvslog mailing list