[Bug 783521] gl: Add "direct" dmabuf uploader

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 30 11:39:56 UTC 2018


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

--- Comment #52 from Michael Olbrich <m.olbrich at pengutronix.de> ---
Created attachment 374104
  --> https://bugzilla.gnome.org/attachment.cgi?id=374104&action=edit
glupload: handle upload methods with different caps

If a upload method is selected then use it exclusively in transform_caps().
Also, reconfigure if the current caps don't match the current upload
method.

-- 

Nicolas: This should fix the warning you got. The filter was not applied
when only one tranform function is used.

I also added some more fallback handling. I've seen some cases where the
GLMemory method was selected, combinded with a system memory only filter.
That filter is not always there. It seems racy (it's gone with more
debugging enabled) and it's also gone on the next call to transform_caps.

I'm not sure why this happens, but falling back to transform with all
methods and then handling the fallout with the next buffer should work.
That's what happens at the beginning anyways, so going back to this when
transform_caps would return empty caps should work correctly.

Same issue here: I cannot make the other patch as obsolete.

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