pipewiresrc does not expose DMABuf
Created by: ndufresne
While testing the release version on Fedora 27, I notice that pipewiresrc does not expose DMABuf (for the webcam case). This force copies in GStreamer.
[nicolas@skullcanyon ~]$ GST_GL_WINDOW=wayland GST_DEBUG=glupload:7 gst-launch-1.0 pipewiresrc path=4 ! glimagesink sync=0
0:00:00.023564884 15590 0x5644a132ab60 DEBUG glupload gstglupload.c:1590:gst_gl_upload_new:<glupload0> Created new GLUpload for context (NULL)
Définition du pipeline à PAUSED...
Le pipeline est actif et n’a pas besoin de phase PREROLL…
Contexte de l’élément « sink » : gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
Passage du pipeline à la phase PLAYING…
New clock: pipewireclock0
0:00:01.562716798 15590 0x5644a131c140 DEBUG glupload gstglupload.c:1767:_upload_find_method:<glupload0> attempting upload with uploader GLMemory
0:00:01.562790678 15590 0x5644a131c140 DEBUG glupload gstglupload.c:1767:_upload_find_method:<glupload0> attempting upload with uploader Dmabuf
0:00:01.562830018 15590 0x5644a131c140 DEBUG glupload gstglupload.c:1767:_upload_find_method:<glupload0> attempting upload with uploader UploadMeta
0:00:01.562848505 15590 0x5644a131c140 DEBUG glupload gstglupload.c:1767:_upload_find_method:<glupload0> attempting upload with uploader Raw Data