GNOME Bugzilla – Bug 662829
[textoverlay] - silent property looks not well implemented
Last modified: 2011-11-08 12:07:15 UTC
The 'silent' property (to hide and display subtitle during playback) of official gstreamer textoverlay is also not well implemented. In textoverlay gst_text_overlay_video_chain(), it just push pure video data but without consuming the text data. Then gst_text_overlay_text_chain() will blocked to waiting for the text data consumed. For subtitle mixed with av in the same file, the demux will block at the text demuxing since text data not consumed then will not demux any followed audio and video data.
Created attachment 200109 [details] [review] textoverlay: continue processing text when silent This prevents playback wegding when text buffers are left to pile up.
The other overlays (cairotextoverlay and tiger) did not have a silent property, I've just added one to those as well. Can't seem to get cairotextoverlay to work from a file with muxed subtitles though, not sure if it's supposed to support this.
commit 51426a3b2d2b77700de22f75b2091a9f323308ba Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Thu Oct 27 14:48:52 2011 +0100 textoverlay: continue processing text when silent This prevents playback wegding when text buffers are left to pile up. https://bugzilla.gnome.org/show_bug.cgi?id=662829