simple-yet-powerful-srt-subtitle-parser-cpp
simple-yet-powerful-srt-subtitle-parser-cpp copied to clipboard
Is it possible to get line break information from the subtitles?
Thanks for the nice subtitle parser, it works very well with Open Frameworks. I wonder if it is possible to get line break information (\n), so that I can format the subtitles similar to the original...
Actually I found a solution. I just had to replace:
if (completeLine != "")
completeLine += " ";
with:
if (completeLine != "")
completeLine += "\n";
Would you like to send a PR? :)
I did send a PR... :)