FFmpeg: subtitleTextFromAVSubtitle - clean up implementation
* use QSpan to avoid integer indices
* use regex to handle linebreaks
Pick-to: 6.12
Change-Id: Ib9dfe7f1c94fa4cc82c354960e05a0d1abffd7d8
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | dd78e2435e5a423f59cc27d37dbf70c315936eb6 |
| parent | 54b31ec97951ba71a3edecd42f095b45aaa18b9d |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Wed, 2 Sep 2026 00:16:43 +0000 |