GNOME Bugzilla – Bug 797035
subparse: Remove checking text buffer length
Last modified: 2018-11-03 12:09:42 UTC
Created attachment 373471 [details] [review] subparse: Remove checking text buffer length 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. As an example in hls streams, since WEBVTT files can be segemented like video/audio, some subtitle segements may only contain just the header string. Returning null here results to the pads not being exposed properly.
Created attachment 373472 [details] [review] subparse: Remove checking text buffer length
Why not keep the check, but bring it down to 6 ?
Created attachment 373488 [details] [review] Lower text buffer length threshold when detecting format Thanks for the review. Brought it down to 6.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/480.