summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-08 22:18:20 +0200
committerwm4 <wm4@nowhere>2015-04-08 22:18:20 +0200
commit78fe1d3a2c9cb1c5562cefc1c22a305754c21871 (patch)
treea2ca92b3e5f64a4a62fd73a68d50adfaa2e002a8 /sub
parent26909c1113ab86801ca3e1f8097f7ed0e06d35d4 (diff)
downloadmpv-78fe1d3a2c9cb1c5562cefc1c22a305754c21871.tar.bz2
mpv-78fe1d3a2c9cb1c5562cefc1c22a305754c21871.tar.xz
sub: unprefer libavcodec's MicroDVD converter
Prefer the builtin one again. libavcodec still uses the ASS packet format that uses inline timestamps, so the packet timestamps are ignored. This again leads to additional rounding of timestamps, because the ASS storage format only has 10ms resolution (instead of 1ms resolution like libass). This again can lead to unintentional overlaps when converting subtitles. The internal MicroDVD converter avoids this, because it always uses packet timestamps.
Diffstat (limited to 'sub')
-rw-r--r--sub/dec_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index 0a26e6f6a5..c08e5a0fa2 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -49,8 +49,8 @@ static const struct sd_functions *const sd_list[] = {
&sd_movtext,
&sd_srt,
&sd_lavf_srt,
- &sd_lavc_conv,
&sd_microdvd,
+ &sd_lavc_conv,
NULL
};