changeset 5573:6aee72615229 libavformat

mkvenc: Write TrackTimecodeScale patch by Rafael (dot) Carre (a) gmail (d) com
author conrad
date Thu, 21 Jan 2010 20:49:27 +0000
parents 820f0889bc45
children 016f3d4fe56d
files matroskaenc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Thu Jan 21 20:04:17 2010 +0000
+++ b/matroskaenc.c	Thu Jan 21 20:49:27 2010 +0000
@@ -534,6 +534,7 @@
         put_ebml_uint (pb, MATROSKA_ID_TRACKNUMBER     , i + 1);
         put_ebml_uint (pb, MATROSKA_ID_TRACKUID        , i + 1);
         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)))
             put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value);