diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-11 17:23:43 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-12 15:28:31 +0100 |
commit | 8fc11abe1fea4f211cc7dbd58a173d1221627d90 (patch) | |
tree | 00a1ce7cd926db862b5053162ff4a7e2e7c4d6b5 /libavformat/matroskadec.c | |
parent | 0348e74c01a099a3787ae21df1c2a742fc846163 (diff) | |
download | ffmpeg-8fc11abe1fea4f211cc7dbd58a173d1221627d90.tar.gz |
mkv: Print unsupported mov tags when found
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 93cd4bbb1c..34bbf37252 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1608,6 +1608,12 @@ static int matroska_parse_tracks(AVFormatContext *s) track->video.fourcc = AV_RL32(track->codec_priv.data); codec_id = ff_codec_get_id(ff_codec_movvideo_tags, track->video.fourcc); + if (codec_id == AV_CODEC_ID_NONE) { + char buf[32]; + av_get_codec_tag_string(buf, sizeof(buf), track->video.fourcc); + av_log(matroska->ctx, AV_LOG_ERROR, + "mov FourCC not found %s.\n", buf); + } } else if (codec_id == AV_CODEC_ID_PCM_S16BE) { switch (track->audio.bitdepth) { case 8: |