[FFmpeg-cvslog] lavf/movenc: improve feedback in case of unsupported codec
Stefano Sabatini
git at videolan.org
Sat Dec 14 14:02:21 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Dec 11 12:13:12 2013 +0100| [54c596fe7a5f88bd6c294ee92ef37eb207b6ada5] | committer: Stefano Sabatini
lavf/movenc: improve feedback in case of unsupported codec
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54c596fe7a5f88bd6c294ee92ef37eb207b6ada5
---
libavformat/movenc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 7315417..aee8747 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,
More information about the ffmpeg-cvslog
mailing list