[MPlayer-dev-eng] The future of a GUI
Kevin DeKorte
kdekorte at gmail.com
Mon Mar 14 17:26:51 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/14/2011 09:46 AM, Ingo Brückl wrote:
> Kevin DeKorte wrote on Sat, 12 Mar 2011 15:45:03 -0700:
>
>> Perhaps adding a dbus interface to mplayer would be something to pursue.
>
> Why not a bidirectional communication through a pipe for example?
>
> Ingo
Ingo,
We do that now and it leaves something to be desired.
For example if you ask for a property, the results come asynchronously,
sometimes this is ok, but other times it is just a pain to deal with.
Also, sometimes the information is out of date when you get it, which
sometimes leads to lags in the interface. For example, I used to ask
mplayer for the volume as the user can change it in the app or on the
main panel. Sometimes, the user would change the volume in the panel
faster than I could change it in the gui, causing the interface to react
oddly, I have since worked around that problem. But that is just one
example.
I am currently in the process of creating a GTK widget that wraps
mplayer and uses input and output pipes to manage mplayer, basically
what I already do in gnome-mplayer, but more contained. But this job
would be easier if I had a better API to deal with.
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk1+QcsACgkQ6w2kMH0L1dFQ6wCfQjm4ymcud49hJ98Ndfw524N8
eYYAn0rJWzgCWKS2c9ID98DiOaxF8eCf
=9PHj
-----END PGP SIGNATURE-----
More information about the MPlayer-dev-eng
mailing list