summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2014-08-15 10:09:56 +1000
committerJan Schmidt <jan@centricular.com>2014-08-15 13:03:52 +1000
commit6e7930a10ca8526274c3a8529f7f2416fa1089ff (patch)
tree7a609d307b2d805a57d56666711641f9d63b6523
parentf1c3a40547e1c2c2d444a683d74ed5b54c804276 (diff)
qtmux: Make the default timescale 1/1800 second
The old default timescale of 1 millisecond produces irrational numbers for a lot of framerate/audio-packet-duration multiples. 1/1800 is a nicer number, as it tends to produce better fractions and therefore slightly higher accuracy overall
-rw-r--r--gst/isomp4/gstqtmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index 11ab2536e..b5bb6a9c0 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -185,7 +185,7 @@ enum
/* some spare for header size as well */
#define MDAT_LARGE_FILE_LIMIT ((guint64) 1024 * 1024 * 1024 * 2)
-#define DEFAULT_MOVIE_TIMESCALE 1000
+#define DEFAULT_MOVIE_TIMESCALE 1800
#define DEFAULT_TRAK_TIMESCALE 0
#define DEFAULT_DO_CTTS TRUE
#define DEFAULT_FAST_START FALSE