Re: [Totem] Browser plugin gstreamer

I'd even propose (cautiously obviously and only hypothetically, i don't want to step on anyone's toes :P) factoring out the core video playback engine of Totem out into a separate library, so that we have a generic reusable video player component in the GNOME stack, with a minimal set of dependencies, and then base the browser plugin and Totem on it.

2008/8/19 Bastien Nocera <hadess hadess net>
On Tue, 2008-08-19 at 16:46 +0300, Felipe Contreras wrote:
> >> Is playlist support a must-have feature? If so, probably should be
> >> handled by a GStreamer element. Fullscreen support should not be that
> >> difficult, but I leave that to somebody else.
> >
> > Yes, it's a must-have.
> If you are trying to emulate other plugins then yes, I see how that
> could be required.

Even a plugin that doesn't try to support the APIs of those foreign
plugins will certainly need playlist support to be competitive...

> > FWIW, you can probably have a complete web browser plugin in not much
> > space by packaging it properly in a sub-package.
> >
> > $(libdir)/mozilla/plugins/*
> > $(libexecdir)/totem-plugin-viewer
> This is one of the things I didn't like when I analyzed the totem
> plugin: why require an external process?

Because video decoders are rubbish, and you don't want to do video
decoding in the same space as the web browser. A crafted video playing
inside the web browser could make it send your whole password wallet to
some website. With a separate program, it will just crash :)

> > $(libdir)/ (shared with Totem itself)
> > $(pkgdatadir)/mozilla-viewer.ui
> > $(pkgdatadir)/fullscreen.ui (shared with Totem itself)
> >
> > That comes in under a meg stripped...
> I guess it depends on what is required.

Can certainly be smaller if you remove some of the compatibility

gnome-multimedia mailing list
gnome-multimedia gnome org

Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]