subparse: lower text buffer threshold 64/261364/1
authorHosang Lee <hosang10.lee@lge.com>
Wed, 17 Jun 2020 00:03:51 +0000 (09:03 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 16 Jul 2021 02:57:19 +0000 (02:57 +0000)
commit8c5cbed3eae113fb0dd3d870f2931eb2b1ea1313
tree0b571133c0bcdeca1fa9e2d3f9d387f797b80647
parente57e9f281d6e1438995e5c0963ca37027a0254bf
subparse: lower text buffer threshold

It is possible for subtitle files to have a string length less than 30.
WebVTT for example may contain only the 'WEBVTT' string in the file
without any cues.
As an example in hls streams, since WEBVTT files can be segmented
like video/audio, some subtitle segments may only contain just the
header string.

Change-Id: I42dd0497852550d7cd6dd21a485856f06af55d71
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/708>
gst/subparse/gstsubparse.c