GNOME Bugzilla – Bug 734219
textoverlay: support forced updating text when new text buffer comes in
Last modified: 2018-11-03 11:30:52 UTC
some text producer element, such as closed caption decoder "cea708dec", output text buffer whose duration is not fixed. That means when text buffer display, it's not determined yet when text will be destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=704881 To support this kind of instant buffer, added a property "force-update-text", to allow update text when new text buffer come and existed buffer duration is not finished. It is extremely useful to show scrollable closed caption text. This property's default value is false. so it would not influence current logics.
Created attachment 282639 [details] [review] add property force-update-text
I think we need a "mode" that what to do with unfinished buffer. Bug 540131 state that in some cases (where the duration is set) the subtiltes are expected to pile. Or maybe for this case we don't need a property, e.g. if previous has no end, replace it instead of dropping the new one (only when the new one starts of course).
-- 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/128.