| Summary: | [GStreamer] Handle missing plugins better at runtime | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cgarcia, mcatanzaro, pnormand | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 147000 | ||||||||
| Attachments: |
|
||||||||
|
Description
Michael Catanzaro
2015-07-16 10:00:24 PDT
Created attachment 256906 [details]
Backtrace
Note, I'm using GStreamer revision 6379b7a07b2212db39d26609635fb5b3b904c7d2 (on the 1.4 branch) but this issue has occurred for a long time. (In reply to comment #1) > Created attachment 256906 [details] > Backtrace Looking at this trace it seems you don't have the autoaudiosink gst element. Can you check your gst-plugins-good jhbuild installation? Within the JHBuild shell this should show a description of the element: gst-inspect-1.0 autoaudiosink Indeed, thanks Philippe: $ gst-inspect-1.0 autoaudiosink No such element or plugin 'autoaudiosink' Looks like the problem is that we do not depend on gst-plugins-good in GNOME jhbuild, only on gst-plugins-base. Also, our CMake build system clearly does not require it. Is gst-plugins-good mandatory, then? Should we require it at build time, or allow building without it and handle the failure better runtime? (In reply to comment #4) > Indeed, thanks Philippe: > > $ gst-inspect-1.0 autoaudiosink > No such element or plugin 'autoaudiosink' > > Looks like the problem is that we do not depend on gst-plugins-good in GNOME > jhbuild, only on gst-plugins-base. Also, our CMake build system clearly does > not require it. Is gst-plugins-good mandatory, then? Should we require it at > build time, or allow building without it and handle the failure better > runtime? I don't think we should require it in CMake, -good doesn't provide any library, only plugins. But we should provide better runtime support indeed, handle failures better, like you suggest :) Created attachment 259001 [details]
patch
Comment on attachment 259001 [details]
patch
Thanks!
Committed r188472: <http://trac.webkit.org/changeset/188472> |