[Bug 744698] VDPAU interoperability with GstGL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 10 21:35:00 PDT 2015


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

--- Comment #8 from Julien Isorce <julien.isorce at gmail.com> ---
Nicolas thx for the links and feedbacks I am sure this will help. Victor that's
cool that you are looking at this.

You are right I think you should define a GstVideoGLTextureUpload callback.

Here is what I suggest:

You need first to port gstvdpoutputbuffer.c (renaming to gstvdpoutputmemory.c)
and gstvdpoutputbufferpool.c to gst1.x

Define this GstVideoGLTextureUpload cb in gstvdpoutputbufferpool.c
And attach it to all allocated buffers.

Then gstvdpvideopostprocess.c needs to be ported. Maybe for now just to convert
from memory:vdpau to meta:GstVideoGLTextureUploadMeta.

Also I think the vtable construction in your patch can be done in gstgl
directly. Indeed GL_NV_vdpau_interop is defined in glext.h and part of the
khronos specs/regitry.
Also vdpdevice is void* in this header so no need to include vdpau.h in gstgl.

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