GNOME Bugzilla – Bug 739777
Subtitles do not clear properly
Last modified: 2015-01-27 14:31:55 UTC
When there's a long gap between DVB subtitles, the old overlay gets stuck on screen. Attached patch fixes it.
Created attachment 290156 [details] [review] [PATCH] Fix clearing of subtitle overlay dvbsuboverlay signals no subtitles present by not setting GstVideoOverlayCompositionMeta on a buffer. Detect this, and remove subtitles whenever we have no overlay composition to hand. Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk> --- gst/vaapi/gstvaapipluginutil.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
Review of attachment 290156 [details] [review]: LGTM.
Pushed, Thanks for the patch. commit bee7460f3541f5eb3f6511ca8d74c3ce6533bf62 Author: Simon Farnsworth <simon.farnsworth@onelan.co.uk> Date: Tue Jan 27 16:25:21 2015 +0200 pluginutil: Fix clearing of subtitle overlay dvbsuboverlay signals no subtitles present by not setting GstVideoOverlayCompositionMeta on a buffer. Detect this, and remove subtitles whenever we have no overlay composition to hand. Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>