[FFmpeg-cvslog] r22187 - trunk/libavformat/matroskaenc.c

conrad subversion
Thu Mar 4 00:27:34 CET 2010


Author: conrad
Date: Thu Mar  4 00:27:34 2010
New Revision: 22187

Log:
matroskaenc: use "title" tag instead of "description" in track title.

Patch by Anton Khirnov < whyskas at gmail >

Modified:
   trunk/libavformat/matroskaenc.c

Modified: trunk/libavformat/matroskaenc.c
==============================================================================
--- trunk/libavformat/matroskaenc.c	Wed Mar  3 23:29:06 2010	(r22186)
+++ trunk/libavformat/matroskaenc.c	Thu Mar  4 00:27:34 2010	(r22187)
@@ -536,7 +536,7 @@ static int mkv_write_tracks(AVFormatCont
         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");



More information about the ffmpeg-cvslog mailing list