<feed xmlns='http://www.w3.org/2005/Atom'>
<title>video/libs/wpewebkit/patches/842-gstreamer-share-codec-string-to-caps.patch, branch master</title>
<subtitle>Mirror of video feed</subtitle>
<id>https://git.openwrt.org/feed/video/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/video/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/video/'/>
<updated>2026-12-03T15:13:27Z</updated>
<entry>
<title>wpewebkit: update to 2.54.3</title>
<updated>2026-12-03T15:13:27Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-11-24T00:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/video/commit/?id=81dc519ff474e06091cba80fc6ba7bca7044900d'/>
<id>urn:sha1:81dc519ff474e06091cba80fc6ba7bca7044900d</id>
<content type='text'>
Update from 2.54.2. Drop patch 132, which is part of this release,
and refresh the others.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>wpewebkit: extend the Kodi quirk and the Widevine CDM</title>
<updated>2026-11-12T15:28:45Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-11-11T10:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/video/commit/?id=5bde547e0e279c947ad15f66a87df3bd005d7b3a'/>
<id>urn:sha1:5bde547e0e279c947ad15f66a87df3bd005d7b3a</id>
<content type='text'>
Extend the "kodi" hole-punch quirk, so that Kodi's display plane shows
the video it can scan out and WebKit draws the rest:

 - A video sink names the dma-heap it imports from, and the frames it
   holds, through the webkit.dma-heap GstContext.
 - Video a software decoder puts out in system memory is drawn with
   the GL sink: when a decoder offering no memory:DMABuf caps is added,
   or one offering both sends system-memory caps first, the player puts
   the GL sink in place of the hole-punch sink and stops punching the
   hole. Hardware-decoded video stays on the plane.
 - The player sets playbin's native-video and text flags, so that the
   decoder's dma-bufs reach the sink without playsink's converters and
   their QoS.
 - Hole-punch video is placed by the page's object-fit once the player
   knows the video's size, so that video cropped with object-fit: cover
   fills its box on the plane.

Extend the external CDM backend:

 - The Widevine video decoder puts 8-bit 4:2:0 video out in dma-bufs
   from the heap the sink names, as YUV420 or NV12, and the CDM
   decodes straight into them, so that this video goes to the plane.
   The CDM runs on a thread of its own and a second thread puts the
   frames out, so that the CDM keeps decoding while the sink's queue
   is full.
 - The web process sandbox binds /dev/dma_heap and the CDM's
   manifest.json along with the CDM.
 - The decoder holds its input buffer for as long as it is mapped, the
   instance settles each pending promise once on destruction, and the
   adapter reports resolved new-session promises to the instance.
 - youtube.com keeps navigator.requestMediaKeySystemAccess(), as it
   does in Thunder builds.

Apply media-content-types-requiring-hardware-support, which Kodi sets
when software video decoding is not allowed, to encrypted media and to
decodingInfo():

 - requestMediaKeySystemAccess() applies the setting, so ClearKey
   follows it as clear media does.
 - The Widevine CDM claims the video codecs it decodes in MP4: those in
   x-cdm-codecs of the manifest.json next to the library, else the
   codecs its decoder takes. For these, only the container is checked,
   and MSE addSourceBuffer() and the append pipeline accept them.
   Widevine video in WebM reaches the decryptor, where the CDM decrypts
   no video, so requestMediaKeySystemAccess() refuses it.
 - The MSE player fails a stream when a software decoder receives clear
   video in a codec the setting reserves for hardware. Progressive
   playback keeps software decoding.
 - decodingInfo() answers by the setting as canPlayType() and
   MediaSource.isTypeSupported() do, and the isTypeSupported() cache is
   keyed by the type and the settings.

The GL sink offers a decoder a DMA-BUF layout for a video format only
when EGL samples every plane of it as a 2D texture. Video in a layout
EGL imports only as an external texture, such as the column layout of
the Raspberry Pi HEVC decoder, is then converted by glupload, where its
planes failed to import and it showed no picture.

MediaError.message keeps the message of the engine that tried to play
a resource when a fallback engine fails after it.

Bump PKG_RELEASE.

Fixes: e7c09fa7d264 ("wpewebkit: update to 2.54.2")
Fixes: 81bca9f3f30d ("wpewebkit: add a hole-punch quirk for Kodi")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
