mirror of https://github.com/wayvr-org/wayvr.git
make pipewire default on wlroots
This commit is contained in:
parent
c6bc880bc3
commit
4f38d1ad44
|
|
@ -613,9 +613,7 @@ pub fn create_screen_renderer_wl(
|
||||||
session: &AppSession,
|
session: &AppSession,
|
||||||
) -> Option<ScreenRenderer> {
|
) -> Option<ScreenRenderer> {
|
||||||
let mut capture: Option<ScreenRenderer> = None;
|
let mut capture: Option<ScreenRenderer> = None;
|
||||||
if (&*session.config.capture_method == "auto" || &*session.config.capture_method == "dmabuf")
|
if (&*session.config.capture_method == "wlr-dmabuf") && has_wlr_dmabuf {
|
||||||
&& has_wlr_dmabuf
|
|
||||||
{
|
|
||||||
log::info!("{}: Using Wlr DMA-Buf", &output.name);
|
log::info!("{}: Using Wlr DMA-Buf", &output.name);
|
||||||
capture = ScreenRenderer::new_wlr_dmabuf(output);
|
capture = ScreenRenderer::new_wlr_dmabuf(output);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue