OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688c3d9
)
lavf/movenc: improve feedback in case of unsupported codec
author
Stefano Sabatini
<stefasab@gmail.com>
Wed, 11 Dec 2013 11:13:12 +0000
(12:13 +0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Sat, 14 Dec 2013 12:21:51 +0000
(13:21 +0100)
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
7315417
..
aee8747
100644
(file)
--- 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,