Commit ba31775e authored by conrad's avatar conrad

matroskaenc: Don't write track timecode scale

It's not required for mkv and unsupported in webm

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ef2ee8aa
...@@ -544,7 +544,6 @@ static int mkv_write_tracks(AVFormatContext *s) ...@@ -544,7 +544,6 @@ static int mkv_write_tracks(AVFormatContext *s)
put_ebml_uint (pb, MATROSKA_ID_TRACKNUMBER , i + 1); put_ebml_uint (pb, MATROSKA_ID_TRACKNUMBER , i + 1);
put_ebml_uint (pb, MATROSKA_ID_TRACKUID , i + 1); put_ebml_uint (pb, MATROSKA_ID_TRACKUID , i + 1);
put_ebml_uint (pb, MATROSKA_ID_TRACKFLAGLACING , 0); // no lacing (yet) 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, "title", NULL, 0))) if ((tag = av_metadata_get(st->metadata, "title", NULL, 0)))
put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value); put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment