voukoder-ffmpeg/patches/0002-set-matroska-timebase-to-one-microsecond.patch

14 lines
522 B
Diff

--- matroskaenc.c 2018-08-10 04:00:37.385538200 +0200
+++ matroskaenc2.c 2018-08-10 22:07:20.208420400 +0200
@@ -2671,8 +2671,8 @@
}
for (i = 0; i < s->nb_streams; i++) {
- // ms precision is the de-facto standard timescale for mkv files
- avpriv_set_pts_info(s->streams[i], 64, 1, 1000);
+ // ms precision is the de-facto standard timescale for mkv files (Patched - We're using microseconds!!)
+ avpriv_set_pts_info(s->streams[i], 64, 1, 1000000);
}
return 0;