diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-05-30 01:09:49 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-05-30 01:09:49 +0200 |
commit | 53d6d4f266b50330a62cbfefdf16ca7b5f496b11 (patch) | |
tree | 16f6ff2dda216898473cdb3bd615be16687b7333 /fftools | |
parent | 73438dbbbc872dc286f632f017eb292762efeaec (diff) | |
download | ffmpeg-53d6d4f266b50330a62cbfefdf16ca7b5f496b11.tar.gz |
ffplay: Print codec_name if decoder for codec_id could not be found.
Reviewed-by: Marton Balint
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c index dcca9c26d8..84ba6673dc 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -2578,7 +2578,7 @@ static int stream_component_open(VideoState *is, int stream_index) if (forced_codec_name) av_log(NULL, AV_LOG_WARNING, "No codec could be found with name '%s'\n", forced_codec_name); else av_log(NULL, AV_LOG_WARNING, - "No codec could be found with id %d\n", avctx->codec_id); + "No decoder could be found for codec %s\n", avcodec_get_name(avctx->codec_id)); ret = AVERROR(EINVAL); goto fail; } |