Mercurial > libavformat.hg
changeset 5742:f50c86f67772 libavformat
matroskaenc: use "title" tag instead of "description" in track title.
Patch by Anton Khirnov < whyskas at gmail >
author | conrad |
---|---|
date | Wed, 03 Mar 2010 23:27:34 +0000 |
parents | 8221d200d033 |
children | 0c1e9df4e3cd |
files | matroskaenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskaenc.c Wed Mar 03 21:49:24 2010 +0000 +++ b/matroskaenc.c Wed Mar 03 23:27:34 2010 +0000 @@ -536,7 +536,7 @@ put_ebml_uint (pb, MATROSKA_ID_TRACKFLAGLACING , 0); // no lacing (yet) put_ebml_float(pb, MATROSKA_ID_TRACKTIMECODESCALE, 1.0); - if ((tag = av_metadata_get(st->metadata, "description", NULL, 0))) + if ((tag = av_metadata_get(st->metadata, "title", NULL, 0))) put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value); tag = av_metadata_get(st->metadata, "language", NULL, 0); put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, tag ? tag->value:"und");