diff options
-rw-r--r-- | sub/lavc_conv.c | 1 | ||||
-rw-r--r-- | wscript | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sub/lavc_conv.c b/sub/lavc_conv.c index 06b975660f..75c127cc82 100644 --- a/sub/lavc_conv.c +++ b/sub/lavc_conv.c @@ -94,6 +94,7 @@ struct lavc_conv *lavc_conv_create(struct mp_log *log, const char *codec_name, avctx->time_base = (AVRational) {1, 1000}; #if LIBAVCODEC_VERSION_MICRO >= 100 avctx->pkt_timebase = avctx->time_base; + avctx->sub_charenc_mode = FF_SUB_CHARENC_MODE_IGNORE; #endif priv->avctx = avctx; priv->extradata = talloc_strndup(priv, avctx->subtitle_header, @@ -413,7 +413,7 @@ iconv support use --disable-iconv.", ffmpeg_pkg_config_checks = [ 'libavutil', '>= 56.8.100', - 'libavcodec', '>= 58.10.100', + 'libavcodec', '>= 58.16.100', 'libavformat', '>= 58.9.100', 'libswscale', '>= 5.0.101', 'libavfilter', '>= 7.0.101', |