Revision 690b4126 libavformat/matroskaenc.c

View differences:

libavformat/matroskaenc.c
536 536
        put_ebml_uint (pb, MATROSKA_ID_TRACKFLAGLACING , 0);    // no lacing (yet)
537 537
        put_ebml_float(pb, MATROSKA_ID_TRACKTIMECODESCALE, 1.0);
538 538

  
539
        if ((tag = av_metadata_get(st->metadata, "description", NULL, 0)))
539
        if ((tag = av_metadata_get(st->metadata, "title", NULL, 0)))
540 540
            put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value);
541 541
        tag = av_metadata_get(st->metadata, "language", NULL, 0);
542 542
        put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, tag ? tag->value:"und");

Also available in: Unified diff