Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: allow pass row fd to capture #56

Merged
merged 8 commits into from
Aug 21, 2023

Conversation

Decodetalkers
Copy link
Collaborator

https://github.com/pop-os/xdg-desktop-portal-cosmic/blob/master_jammy/src/wayland.rs#L191

from the code in xdg-desktop-portal-cosmis, here should pass a rawfd to it , so maybe expose a function is better?

libwayshot/src/lib.rs Outdated Show resolved Hide resolved
@Decodetalkers Decodetalkers force-pushed the addcapturefd branch 2 times, most recently from 600384b to dcf908e Compare August 15, 2023 06:28
@Decodetalkers
Copy link
Collaborator Author

let me test it weather it will work

@Decodetalkers
Copy link
Collaborator Author

https://github.com/waycrate/wayshot/assets/60290287/a1b81cc8-aea9-4401-8f0e-78733a95fed6
Finshed, so when pass raw fd, it should not use memfd

@Decodetalkers
Copy link
Collaborator Author

Decodetalkers commented Aug 18, 2023

I think this need #59 , we need to bind wloutput first, and wloutput dispatch too much time, then I can continue to work on screencast, thanks to xdg-desktop-portal-cosmic

@Decodetalkers Decodetalkers force-pushed the addcapturefd branch 2 times, most recently from b0afb1f to 5d49d85 Compare August 18, 2023 03:31
@Decodetalkers Decodetalkers marked this pull request as ready for review August 18, 2023 08:22
@Decodetalkers
Copy link
Collaborator Author

ok , it still works fine

@Decodetalkers
Copy link
Collaborator Author

https://github.com/Decodetalkers/gstreamer_train/blob/pipewiretest2/src/pipewirethread.rs#L57

you can try this branch, it wll successfully make a screencast

libwayshot/src/error.rs Outdated Show resolved Hide resolved
libwayshot/src/lib.rs Outdated Show resolved Hide resolved
libwayshot/src/lib.rs Outdated Show resolved Hide resolved
Decodetalkers and others added 3 commits August 21, 2023 22:48
Co-authored-by: Aakash Sen Sharma <60808802+Shinyzenith@users.noreply.github.com>
fix error of NosupportedFormat

Co-authored-by: Aakash Sen Sharma <60808802+Shinyzenith@users.noreply.github.com>
fix catpure_output_frame_shm_fd commit

Co-authored-by: Aakash Sen Sharma <60808802+Shinyzenith@users.noreply.github.com>
@Decodetalkers Decodetalkers merged commit 1dfa348 into waycrate:main Aug 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants