Fix subtitle splitting for frame-based formats
Merge pull request #374 from kempniu/fix-frame-based-splitting

Fix subtitle splitting for frame-based formats