subparse: lower text buffer threshold
authorHosang Lee <hosang10.lee@lge.com>
Wed, 17 Jun 2020 00:03:51 +0000 (09:03 +0900)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 22 Jun 2020 05:46:13 +0000 (05:46 +0000)
commit5726a66fdba0d41afddd3d676cc1127c25105668
treef7a4c5cf844fbe6bfc7e238463f1fb27d1cb50b9
parent8768efde64b996b8e1db5efa70a13114e6895a65
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.

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