From f9f7f4c9bbd180ea80ffc31d187ceb4b68e94d90 Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefasab@gmail.com>
Date: Sat, 20 Jul 2013 19:04:22 +0200
Subject: [PATCH] ffplay: improve error message in case of failure, mention
 filtergraph configuration

---
 ffplay.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index ca95c2c7bcd..e92ef423936 100644
--- 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;
     }
-- 
GitLab