GNOME Bugzilla – Bug 739689
textoverlay: not rendering when x + text_width > frame_width && x < frame_width
Last modified: 2015-04-03 15:15:52 UTC
^
Created attachment 290056 [details] [review] Temp fix
Let's please wait until bug #739281 is resolved and then go one layer up and check the elements that use this API to make sure they behave right.
Can you provide a gst-launch-1.0 test pipeline?
Works for me now: gst-launch-1.0 videotestsrc ! textoverlay font-desc=Sans,144 text=Test deltax=100 ! ximagesink
This is the test : gst-launch-1.0 videotestsrc num-buffers=100 ! textoverlay xpos=0 text=TEST auto-resize=0 deltax=300 halignment=4 valignment=3 ! ximagesink
Still happens with git for me. This shows the text just touching the right border for me: gst-launch-1.0 videotestsrc num-buffers=100 ! textoverlay text=TEST auto-resize=0 halignment=4 valignment=3 xpos=0 deltax=276 ! ximagesink This makes it disappear completely (with deltax+1): gst-launch-1.0 videotestsrc num-buffers=100 ! textoverlay text=TEST auto-resize=0 halignment=4 valignment=3 xpos=0 deltax=277 ! ximagesink
Created attachment 299731 [details] [review] fix
commit b247001aa9e562cc90f306362046d7ad42220a45 Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Wed Mar 18 16:32:53 2015 +0000 textoverlay: fix disappearing text with high deltax When deltax is large enough to cause the text to push past the width of the frame, it would disappear due to a bug in setting the layout width. While there, fix a log printing an incorrect width to set. https://bugzilla.gnome.org/show_bug.cgi?id=739689