[Bug 761059] kmssink: add new plugin and element

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 22 14:03:43 UTC 2016


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

--- Comment #34 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Philipp Zabel from comment #33)
> When not using dmabuf, I see kmssink add and alternate between two drm
> framebuffers:
> 
> gst_kms_sink_show_frame:<kmssink0> displaying fb 62
> gst_kms_sink_show_frame:<kmssink0> displaying fb 63
> gst_kms_sink_show_frame:<kmssink0> displaying fb 62
> gst_kms_sink_show_frame:<kmssink0> displaying fb 63
> ...
> 
> But when using dmabuf, the first fb gets removed by
> gst_allocator_memory_reset() called from gst_kms_allocator_dmabuf_import()
> and it keeps displaying the same fb, as the gst_buffer_pool_acquire_buffer()
> call in gst_kms_sink_get_input_buffer() keeps returning the same destination
> buffer:
> 
> gst_kms_allocator_dmabuf_import:<KMSMemory::allocator> resetting bo-based
> buffer
> gst_kms_sink_import_dmabuf:<kmssink0> imported prime fd 43
> gst_kms_sink_show_frame:<kmssink0> displaying fb 62
> gst_kms_sink_import_dmabuf:<kmssink0> imported prime fd 45
> gst_kms_sink_show_frame:<kmssink0> displaying fb 62
> gst_kms_sink_import_dmabuf:<kmssink0> imported prime fd 47
> gst_kms_sink_show_frame:<kmssink0> displaying fb 62
> gst_kms_sink_import_dmabuf:<kmssink0> imported prime fd 43
> ...

Yes. But, sorry, what's problem there?

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