Bug 218245

Summary: [GStreamer] Using audio files for the <img> tag triggers warnings
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: PlatformAssignee: Philippe Normand <pnormand>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, calvaris, cgarcia, ews-watchlist, gustavo, menard, vjaquez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=218246
Attachments:
Description Flags
Patch calvaris: review+

Description Philippe Normand 2020-10-27 10:36:13 PDT
** (WebKitWebProcess:67): WARNING **: 10:23:50.597: Error: 1, Internal data stream error.. Debug output: ../gst-libs/gst/tag/gsttagdemux.c(1512): gst_tag_demux_element_loop (): /GstPipeline:image-decoder-2/GstDe
codeBin:decodebin2/GstID3Demux:id3demux2:                                                                                                                                                                          streaming stopped, reason not-linked (-1)                                                                                                                                                                          
                                                                                                                                                                                                                   
** (WebKitWebProcess:67): WARNING **: 10:23:50.599: Error: 12, Your GStreamer installation is missing a plug-in.. Debug output: ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstPipeline:image
-decoder-3/GstDecodeBin:decodebin3:                                                                                                                                                                                no suitable plugins found:                                                                                                                                                                                         
Missing decoder: MPEG-1 Layer 3 (MP3) (audio/mpeg, mpegversion=(int)1, layer=(int)3, parsed=(boolean)false)
Comment 1 Philippe Normand 2020-10-27 10:40:52 PDT
Created attachment 412443 [details]
Patch
Comment 2 Adrian Perez 2020-10-27 12:31:21 PDT
Comment on attachment 412443 [details]
Patch

I've tested a build with this patch and works here. The patch
looks reasonable on my eyes, but you may want a formal review
by someone who knows better the GStreamer multimedia code :)
Comment 3 Philippe Normand 2020-10-28 05:47:56 PDT
Committed r269099: <https://trac.webkit.org/changeset/269099>
Comment 4 Radar WebKit Bug Importer 2020-10-28 05:48:21 PDT
<rdar://problem/70761592>