Commit f9f7f4c9 authored by Stefano Sabatini's avatar Stefano Sabatini

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

parent 9042c8a4
...@@ -2806,7 +2806,8 @@ static int read_thread(void *arg) ...@@ -2806,7 +2806,8 @@ static int read_thread(void *arg)
} }
if (is->video_stream < 0 && is->audio_stream < 0) { 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; ret = -1;
goto fail; goto fail;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment