Skip to content

subparse: fix pushing WebVTT cue with no newline at the end

While looking into WebVTT I found out that last cue gets lost if it does not have an empty line after it.

It can be reproduced even with the most basic file from the official test suite, e.g.:

gst-launch-1.0 https://raw.githubusercontent.com/web-platform-tests/wpt/master/webvtt/rendering/cues-with-video/processing-model/support/test.vtt ! subparse ! identity dump=true ! fakesink

Merge request reports