Bug 265016

Summary: [GStreamer] WebM player doesn't fire error event
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: philn
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

Description Jean-Yves Avenard [:jya] 2023-11-17 02:11:11 PST
seen with bug 264931 ; when playing a broken webm, the error event isn't fired.

media/media-webm-opus-error.html is a perma-failure
Comment 1 Philippe Normand 2023-11-20 02:51:23 PST
LayoutTests/media/content/opus_variable_witherror.webm plays fine in VLC and in GStreamer-based players.

What's supposed to happen when that file is loaded, exactly?
Comment 2 Jean-Yves Avenard [:jya] 2024-01-22 03:58:44 PST
The track Id is 2^64 which is an illegal value.

This is handled properly by libwebm parser and it will return an error when parsing the metadata
Comment 3 Philippe Normand 2024-01-22 04:33:23 PST
Ah, that might explain why it plays in GStreamer then, since AFAIK we don't validate track metadata there...
Comment 4 Philippe Normand 2024-01-22 10:46:59 PST
There's this...

0:00:00.043568142 119238 0x7fcda4000d40 WARN           matroskademux matroska-demux.c:2428:gst_matroska_demux_peek_cluster_info:<matroskademux0> Unknown ebml id 0x1c53bb6b (possibly garbage), bailing out
Comment 5 Philippe Normand 2024-01-22 10:49:05 PST
DEBUG          matroskademux matroska-demux.c:780:gst_matroska_demux_parse_stream:<matroskademux0> TrackUID: 14579512113800193225