From 78fe1d3a2c9cb1c5562cefc1c22a305754c21871 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 8 Apr 2015 22:18:20 +0200 Subject: 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. --- sub/dec_sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub') 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 }; -- cgit v1.2.3