[Webkit-unassigned] [Bug 35747] [GStreamer] Poll messages from the bus if the player is not runned inside a glib mainloop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 07:38:44 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35747





--- Comment #4 from Philippe Normand <pnormand at igalia.com>  2010-03-10 07:38:44 PST ---
(In reply to comment #3)

> > I'm worried we may end up in that situation in
> > the gtk+ port, in some cases (say, the application hasn't run gtk_main(), but
> > is running the mainloop itself). Why not have ports that would like to use the
> > GStreamer backend run the glib main loop?
> 
> I'm not sure this would be an option for, say, the mac or win port :) It'd be
> nice to propose the GStreamer backend as an optional replacement for these
> ports and avoiding use of a glib loop inside apps running on these platforms
> would be good, I think...

Another approach would be to do the polling only on win and mac platforms (#if
PLATFORM(WIN)...). So the GTK+ port wouldn't be affected, as webkitgtk apps use
a glib mainloop in most (all?) cases.

BTW I tested the polling on my laptop and couldn't really notice a difference
in terms of CPU usage, apart from the obvious overhead of wakeups :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list