You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffplay: improve error message in case of failure, mention filtergraph configuration
This commit is contained in:
3
ffplay.c
3
ffplay.c
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user