• Antonio Ospite's avatar
    subparse: fix pushing WebVTT cue when last is not an empty line · 1c454fda
    Antonio Ospite authored
    If the last WebVTT cue does not have an empty line after it, or if it
    does not end with a newline at all, it does not get pushed out and it
    won't be displayed.
    
    gst_sub_parse_sink_event() already handles the issue for other subtitle
    formats, enable handling it for GST_SUB_PARSE_FORMAT_VTT too.
    
    While at it also add a test for this case.
    1c454fda
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
subprojects Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-base.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...