diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-12-11 12:13:12 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-12-14 13:21:51 +0100 |
commit | 54c596fe7a5f88bd6c294ee92ef37eb207b6ada5 (patch) | |
tree | b917fbe3dfb60c027005f8d775d93880fa6184c1 /libavformat/movenc.c | |
parent | 688c3d944de3828e9cf577f809a9a4b78237247c (diff) | |
download | ffmpeg-54c596fe7a5f88bd6c294ee92ef37eb207b6ada5.tar.gz |
lavf/movenc: improve feedback in case of unsupported codec
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 7315417ca2..aee8747b81 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3837,8 +3837,9 @@ static int mov_write_header(AVFormatContext *s) track->mode = mov->mode; track->tag = mov_find_codec_tag(s, track); if (!track->tag) { - av_log(s, AV_LOG_ERROR, "track %d: could not find tag, " - "codec not currently supported in container\n", i); + av_log(s, AV_LOG_ERROR, "Could not find tag for codec %s in stream #%d, " + "codec not currently supported in container\n", + avcodec_get_name(st->codec->codec_id), i); goto error; } /* If hinting of this track is enabled by a later hint track, |