On Sun, Jul 19, 2009 at 10:55:56PM +1000, Damien Miller wrote: > On Sat, 18 Jul 2009, Landry Breuil wrote: > > > Hi, > > > > here's a diff to enable video & audio support through gstreamer in > > webkit. I didn't test it functionally yet (dunno if midori/kazehakase > > support it), but it doesn't change their deps at least. > > > > as a sidenote, i won't probably update webkit yet to 1.1.11, as it > > depends on libsoup 2.27.4 - we'll probably wait for a 2.28.x branch > > release for that. > > > > comments on the diffs ? remarks, tests ? > > Is there any limit or whitelist on which codecs will be exposed through > gstreamer? IMO it is very scary to allow access to absolutely every codec - > it is a lot of attack surface...
I don't think there's such kind of thing : webkit uses what gstreamer provides him.. see 4 gstreamer-related files at https://trac.webkit.org/browser/trunk/WebCore/platform/graphics/gtk from a quick look at the code, atm it only supports video/x-theora+ogg mimetype. And this support still looks young. Indeed, if someone crafts a malformed video, it's gstreamer's job to handle the failures, not webkit. Landry
