diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-01-21 20:49:27 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-01-21 20:49:27 +0000 |
commit | e380b9182be0908ec60dd6e135ca6f498371b46f (patch) | |
tree | 75b3a3ece7c220ad3e46167221c173565ee1a9b5 /libavformat/matroskaenc.c | |
parent | 2e13ecfecae5929d98292e5378c1671ad4adf842 (diff) | |
download | ffmpeg-streaming-e380b9182be0908ec60dd6e135ca6f498371b46f.zip ffmpeg-streaming-e380b9182be0908ec60dd6e135ca6f498371b46f.tar.gz |
mkvenc: Write TrackTimecodeScale
patch by Rafael (dot) Carre (a) gmail (d) com
Originally committed as revision 21372 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r-- | libavformat/matroskaenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index c119518..a8f99bf 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -534,6 +534,7 @@ static int mkv_write_tracks(AVFormatContext *s) 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); |