gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] async plugin installation


From: Dag Hovland
Subject: Re: [Gnash-dev] async plugin installation
Date: Mon, 30 May 2016 14:30:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]