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

Stefano Sabatini git at videolan.org
Sun Jul 21 19:29:43 CEST 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jul 20 19:04:22 2013 +0200| [f9f7f4c9bbd180ea80ffc31d187ceb4b68e94d90] | committer: Stefano Sabatini

ffplay: improve error message in case of failure, mention filtergraph configuration

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

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

diff --git a/ffplay.c b/ffplay.c
index ca95c2c..e92ef42 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;
     }



More information about the ffmpeg-cvslog mailing list