Improve support in muxing subtitles