This change is incorrect, as Debug is implemented as "OwnedFd({fd})" (meaning "fd={fd:?}" becomes "fd=OwnedFd(##)".
On a related note, I can't get the example to work, neither in Gnome, nor in COSMIC (both on ArchLinux). In both cases I get:
Error: Failed to link elements 'bin0' and 'bin1'
Interestingly in Gnome I get a dialog for choosing what to cast, but not in COSMIC. Perhaps this is not implemented yet, but I thought it was worth mentioning. If I set the sink to filesink location=out.bin I get "Error: Element failed to change its state", which has got me a bit stumped (GST_DEBUG also show no such pad 'sink' in element "pipewiresrc0"). Let me know if this is more of a ashpd issue though.
Apologies if I am doing something clearly wrong, I have only started using xdg-desktop-portal and gstreamer since yesterday :).
This change is incorrect, as
Debug
is implemented as"OwnedFd({fd})"
(meaning"fd={fd:?}"
becomes"fd=OwnedFd(##)"
.On a related note, I can't get the example to work, neither in Gnome, nor in COSMIC (both on ArchLinux). In both cases I get:
Interestingly in Gnome I get a dialog for choosing what to cast, but not in COSMIC. Perhaps this is not implemented yet, but I thought it was worth mentioning. If I set the sink to
filesink location=out.bin
I get"Error: Element failed to change its state"
, which has got me a bit stumped (GST_DEBUG
also showno such pad 'sink' in element "pipewiresrc0"
). Let me know if this is more of aashpd
issue though.Apologies if I am doing something clearly wrong, I have only started using xdg-desktop-portal and gstreamer since yesterday :).