wpe: Use `about:blank` as default URL to support only using load-bytes
authorThibault Saunier <tsaunier@igalia.com>
Tue, 4 Jan 2022 18:49:35 +0000 (15:49 -0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 24 Mar 2022 00:01:20 +0000 (00:01 +0000)
commita14e36fde4235518dca4f65b5ab243046d0bf0cf
treef0631c2e589d85432ab57c81d5e0f3b16bc055ee
parent188635b25f5ee3aa2d2839e0b89a767bf810fb93
wpe: Use `about:blank` as default URL to support only using load-bytes

WebKit is not going to render anything until a URI is set, leading to a
WPE posting a `WPE View did not render a buffer` error message. To avoid
requiring the user to know it if they only want to use
`wpesrc::load-bytes` we can just use `about:blank` as default and
everything will work as users would expect.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1492>
subprojects/gst-plugins-bad/ext/wpe/gstwpe.h
subprojects/gst-plugins-bad/ext/wpe/gstwpesrcbin.cpp
subprojects/gst-plugins-bad/ext/wpe/gstwpevideosrc.cpp
subprojects/gst-plugins-bad/ext/wpe/meson.build
subprojects/gst-plugins-bad/tests/validate/meson.build
subprojects/gst-plugins-bad/tests/validate/wpe/load_bytes_first.validatetest [new file with mode: 0644]