I guess plugin installation should ideally only happen once for every gnash installation, so probably few will want to configure this.

What's the preferred way to add a dialog window here? Should I just call gtk directly, or are there some internal libraries I should call?

Dag

Den 27. mai 2016 16:06, skrev Sandro Santilli:
On Fri, May 27, 2016 at 01:43:42PM +0200, Dag Hovland wrote:
Hi!

Following up on Nutchanon Wetchasit's comments to support issue
https://savannah.gnu.org/support/?109027,
I tested replacing the gtk plugin installation calls in
llibmedia/gst/GstUtil.cpp with the async variant.

Background:

When some plugin is lacking, gtk-gnash may call gtk libraries to
install the relevant plugins.
The current behaviour is to use a blocking call, which leaves gnash
frozen until the call returns. (I had an experience with the gtk
plugin installer freezing.)
Using the async call is encouraged by the gtk manual:

https://developer.gnome.org/gst-plugins-libs/0.10/gst-plugins-base-libs-gstpbutilsinstallplugins.html#gst-install-plugins-async

The only downside, is that if you are playing a movie, you probably
would prefer the movie to stop until your plugin is installed.
Would it make sense to add a GnashRC directive to let the user
tweak the behavior ? Or could the user be notified of need to
reload the movie in order to be able to see it after the plugin
is installed ?

--strk;


_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to