Change #272164
| Category | ffmpeg |
| Changed by | Jun Zhao <barryjzhao@tencent.com> |
| Changed at | Tue 23 Jun 2026 05:57:25 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | b08c9c5f533e7dced089d12d4526301cc200c16e |
Comments
lavfi/vf_subtitles: expose shaping option The ass filter exposes libass' shaping mode selection so callers can request complex shaping for scripts such as Arabic. The subtitles filter uses the same renderer path but did not expose the option. This left the zero-initialized shaping field to select ASS_SHAPING_SIMPLE implicitly. Expose the same shaping option for subtitles and default it to auto, matching the ass filter. This allows subtitles=...:shaping=complex to render Arabic lam-alef correctly when libass is built with HarfBuzz support. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- libavfilter/vf_subtitles.c