Create 0002-set-matroska-timebase-to-one-microsecond.patch

This commit is contained in:
Daniel Stankewitz 2018-08-10 22:10:49 +02:00 committed by GitHub
parent b033bfa00e
commit 61bdbff830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,13 @@
--- 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;