Skip to content

Commit 4f4aa80

Browse files
committed
wpe-exported-wayland: Apply DMABuf sink workaround conditionally
... only for raspberrypi5 Change-Type: minor
1 parent fd364c5 commit 4f4aa80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

recipes-browser/wpe-simple-launcher/wpe-simple-launcher/wpe-exported-wayland

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ CTL_FILE="/tmp/wpe-exported-wayland"
1818
# WebKitDMABufVideoSink sink that is able to accept decode
1919
# dmabuf or raw data in a range of RGB-like or YUV formats.
2020
# Bug: https://bugs.webkit.org/show_bug.cgi?id=279819
21-
export WEBKIT_GST_DMABUF_SINK_ENABLED=1
21+
#
22+
# Apply workaround only if running on raspberrypi5
23+
if [ "$(hostname)" = "raspberrypi5" ]; then
24+
export WEBKIT_GST_DMABUF_SINK_ENABLED=1
25+
fi
2226

2327
# Regression in 2.48.X since
2428
# [GStreamer] Add support for DMA-BUF to GL video sink

0 commit comments

Comments
 (0)