[FFmpeg-devel] [PATCH] ffplay: improve error message in case of failure, mention filtergraph configuration

Stefano Sabatini stefasab at gmail.com
Sat Jul 20 19:07:09 CEST 2013


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

diff --git a/ffplay.c b/ffplay.c
index 9b5dce0..fbef907 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2802,7 +2802,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;
     }
-- 
1.8.1.2



More information about the ffmpeg-devel mailing list