video-src-alloc.c example testing
Created by: danshick
I added an example here:
It exports memfd because that's easier than DMA-BUF and the principle should be the same.
Originally posted by @wtay in https://github.com/PipeWire/pipewire/issues/173#issuecomment-520460326
I'm trying to run this example and I get the following output:
stream state: "connecting" stream state: "configure" node id: 17
Then, if I try something like:
gst-launch-1.0 pipewiresrc path=17 ! videoconvert ! xvimagesink
I just get the message "Setting pipeline to PAUSED" and nothing else. Also, at any point, if I kill the example and try starting it again without first restarting pipewire, it hangs at "stream state: "connecting".
Am I doing something wrong? I am currently building from master and the installed commit is the same as the commit building the example.