ffplay: improve error message in case of failure, mention filtergraph configuration
authorStefano Sabatini <stefasab@gmail.com>
Sat, 20 Jul 2013 17:04:22 +0000 (19:04 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 21 Jul 2013 17:20:46 +0000 (19:20 +0200)
ffplay.c

index ca95c2c..e92ef42 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2806,7 +2806,8 @@ static int read_thread(void *arg)
     }
 
     if (is->video_stream < 0 && is->audio_stream < 0) {
-        av_log(NULL, AV_LOG_FATAL, "%s: could not open codecs\n", is->filename);
+        av_log(NULL, AV_LOG_FATAL, "Failed to open file '%s' or configure filtergraph\n",
+               is->filename);
         ret = -1;
         goto fail;
     }