GNOME Bugzilla – Bug 740357
gstbasetextoverlay: emit signal when text chain is waiting for video buffer
Last modified: 2018-11-03 11:32:55 UTC
in a scenario where subtitles aren't rendered with video fps but with actually just one video buffer per subtitle buffer, it's necessary to push a single video buffer into the subtitle renderer as soon as it has a text buffer queued. implementing this "wait-video" signal was the only way i could figure out to achieve the correct timing for this. note that pushing the video frame(s) has to be done with a seperate thread, e.g. with an appsrc, pushing it directly to the pad will result in a deadlock because the signal is emitted within a locked section of the text chain func suggested patch to be attached
Created attachment 290978 [details] [review] gstbasetextoverlay: emit signal when text chain is waiting for video buffer, refs bug #740357 emit "wait-text" signal before gst_base_text_overlay_text_chain goes into cond wait for a video buffer
-- 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/145.