aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-03-03 23:27:34 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-03 23:27:34 +0000
commit690b412657641f2184ce765be7b69129ddc05d82 (patch)
tree7734bc6244e59f239bcc9307c2306c60e9edf2c5
parentded2100e48cfbf23bcc367a0b215776d5f621419 (diff)
downloadffmpeg-690b412657641f2184ce765be7b69129ddc05d82.tar.gz
matroskaenc: use "title" tag instead of "description" in track title.
Patch by Anton Khirnov < whyskas at gmail > Originally committed as revision 22187 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index a8f99bf4f7..ad4189384f 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -536,7 +536,7 @@ static int mkv_write_tracks(AVFormatContext *s)
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");