Hi!

Attached patch fixes ticket #8738 (and #3165) for me.

Please comment, Carl Eugen
From bfec36f899629a14521646f785d736fcb4c6aee0 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Sat, 20 Jun 2020 19:25:30 +0200
Subject: [PATCH] lavfi/subtitles: Fix the default value for the ass option
 shaping.

Fixes ticket #8738
---
 libavfilter/vf_subtitles.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index 1bd42391e0..5a4b642be7 100644
--- a/libavfilter/vf_subtitles.c
+++ b/libavfilter/vf_subtitles.c
@@ -307,6 +307,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx)
     AVStream *st;
     AVPacket pkt;
     AssContext *ass = ctx->priv;
+    ass->shaping = -1;
 
     /* Init libass */
     ret = init(ctx);
-- 
2.24.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to