Gstreamer pipewiresrc: Allow using wildcards with `target-object` property
I would like to able to get a specific webcam every time, no matter which port it's plugged in. libcamera sources almost allow for this like for example libcamera_input.__SB_.PCI0.GPP3.PTXH.RHUB-4_1.0-145f_02aa
. Substituting 4_1.0
with *
like pw-cli info libcamera_input.__SB_.PCI0.GPP3.PTXH.RHUB-*-145f_02aa
allows me to fetch info about that device no matter the USB port.
If I was able to use the same technique in gst-launch-1.0 pipewiresrc target-object=libcamera_input.__SB_.PCI0.GPP3.PTXH.RHUB-*-145f_02aa
, it would help a lot.