summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-07-20 19:04:22 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-07-21 19:20:46 +0200
commitf9f7f4c9bbd180ea80ffc31d187ceb4b68e94d90 (patch)
tree942e8f3f644316721dde3babdcb67acc9c8e168a /ffplay.c
parent9042c8a4db9bde455ee50bb27f84f0dfadae8315 (diff)
ffplay: improve error message in case of failure, mention filtergraph configuration
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index ca95c2c7bc..e92ef42393 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;
}