After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740357 - gstbasetextoverlay: emit signal when text chain is waiting for video buffer
gstbasetextoverlay: emit signal when text chain is waiting for video buffer
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-19 12:15 UTC by Andreas Frisch
Modified: 2018-11-03 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gstbasetextoverlay: emit signal when text chain is waiting for video buffer, refs bug #740357 (6.01 KB, patch)
2014-11-19 12:17 UTC, Andreas Frisch
none Details | Review

Description Andreas Frisch 2014-11-19 12:15:48 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
Comment 1 Andreas Frisch 2014-11-19 12:17:39 UTC
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
Comment 2 GStreamer system administrator 2018-11-03 11:32:55 UTC
-- 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.