gst/subparse/: Fix parsing of tmplayer subtitle variant where every single line conta...
authorTim-Philipp Müller <tim@centricular.net>
Sat, 3 May 2008 15:45:23 +0000 (15:45 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 3 May 2008 15:45:23 +0000 (15:45 +0000)
commit005c1c86363b37bb1c74c009fa7dd79ff3e4ca47
treea7ec491c4302c8730289a07f55f6b7ff10aa4f1b
parentee90cf19697ea5356d544d56ae2bb9b2d3c45395
gst/subparse/: Fix parsing of tmplayer subtitle variant where every single line contains text and there isn't an empt...

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (handle_buffer),
(gst_sub_parse_sink_event):
* gst/subparse/tmplayerparse.c: (tmplayer_process_buffer),
(tmplayer_parse_line):
Fix parsing of tmplayer subtitle variant where every single line contains
text and there isn't an empty line after each line to determine the
duration (#530962). Improve EOS handling for tmplayer subtitles a bit by
making sure that we push out the last line of text without a duration if
there's still text left in the buffer at the end.
ChangeLog
gst/subparse/gstsubparse.c
gst/subparse/tmplayerparse.c