Browse Source

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

tags/n2.1
Stefano Sabatini 12 years ago
parent
commit
f9f7f4c9bb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ffplay.c

+ 2
- 1
ffplay.c View File

@@ -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;
}


Loading…
Cancel
Save