[Bug 782774] kmssink: drop last rendered buffer on ALLOCATION and DRAIN queries

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 19 16:04:18 UTC 2017


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vjaquez at igalia.com

--- Comment #2 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Talking with Nicolas about the patch, this issue seems to be trickier: 

We have two cases: 1\ the buffer is an internal kms buffer and 2\ it is an
imported dmabuf

In the case 1\ as is an internal buffer, the kmssink, AFAIK, doesn't have to
reclaim its own buffers, so it is not oblige to attend the DRAIN and ALLOCATION
queries.

In the case of 2\ as is a buffer for upstream, so kmssink has to attend those
events. But not just forget about the last buffer, since it might keep being
rendered by DRM. To avoid a possible glitch an option would be to copy the
dmabuf onto a dumb buffer, render it, and keep it as the last buffer.

-- 
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