Skip to content

parsebin: Ensure non-time subtitle streams get "parsed"

Edward Hervey requested to merge bilboed/gstreamer:parsebin-subtitle into main

Since !6153 (merged) , subtitle "decoders" (i.e. which decode to raw text) are no longer auto-plugged by parsebin.

But if a given format does not have a parser at all, we would end up outputting non-time/non-parsed outputs.

In order to mitigate the issue, until such parsers are available, we check if the subtitle stream is in TIME format or not (i.e. whether it comes from a parser or demuxer). If not, we attempt to plug in a subtitle "decoder".

Fixes #3463 (closed)

Merge request reports