saurabhshri/simple-yet-powerful-srt-subtitle-parser-cpp

Is it possible to get line break information from the subtitles?

Opened this issue · 3 comments

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... :)