Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-01-04 23:16:31 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2014-01-04 23:16:51 +0400
commitf9a42cf90332cd02d90d53037cddf75ffa33763d (patch)
tree469bfe019003c51a45ca74d38b491761a54da4af
parent36e07db80d031f2236325df9082135982cdd1324 (diff)
matroskadec_haali: export mkv codec id as metadatampc-hc-1.7.2-5
-rw-r--r--libavformat/matroskadec_haali.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/matroskadec_haali.c b/libavformat/matroskadec_haali.c
index 4ead57238a..c18590b542 100644
--- a/libavformat/matroskadec_haali.c
+++ b/libavformat/matroskadec_haali.c
@@ -1123,6 +1123,8 @@ static int mkv_read_header(AVFormatContext *s)
av_dict_set(&st->metadata, "language", info->Language, 0);
av_dict_set(&st->metadata, "title", info->Name, 0);
+ av_dict_set(&st->metadata, "mkv-codec-id", info->CodecID, 0);
+
if (info->Default)
st->disposition |= AV_DISPOSITION_DEFAULT;
if (info->Forced)