[Bug 791937] glimagesink: need fix video tearing

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 2 01:02:25 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=791937

--- Comment #5 from Haihua Hu <jared.hu at nxp.com> ---
(In reply to Matthew Waters (ystreet00) from comment #4)
> Review of attachment 366038 [details] [review]:
> 
> glFinish() after swapBuffers is a no-go performance wise.  As Nicolas said,
> if you have to do this, fences are the best option and are supported by
> GstGLSyncMeta with the necessary glFlush/glFinish fallbacks for old drivers.
> 
> The question is why do you need this in the first place ?

Sorry, I have not test the fence solution. I found glimagesink will tearing
when playback on wayland, as eglswapbuffer is a none-block call, after it
return, video buffer maybe still been used by GPU, so we need sync after
eglswapbuffer

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list