-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/17/2010 12:23 PM, compn wrote:
On Fri, 17 Dec 2010 19:32:28 +0100, Reimar Döffinger wrote:
On Fri, Dec 17, 2010 at 12:44:22PM -0300, Elias Gabriel Amaral da Silva wrote:
I think mplayer could define some variables for the execing proccess. Like MPLAYER_FILENAME, MPLAYER_POS.. I am about to implement it (unless there is another way to do what I want). Does this seem reasonable?
If it was just one thing it might be reasonable, but it sounds like your program might want all kinds of information. You should probably just use slave mode, though the issue is that replies will be sent to stdout which will be hard to access from a child process. Still, since I don't know the purpose I can't say, but I think there's a good chance you should implement this as a slave-mode wrapper instead. However being able to use arbitrary properties in commands might be a useful feature.
there is a slave wrapper called 'libplayer' which also can wrap vlc.
-compn
Also, I'm getting close to having a fully functional GTK widget that wraps up mplayer. Some functionality is still not present but the basics work. So I can send you a copy of that as well. 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/ iEYEARECAAYFAk0Q7bsACgkQ6w2kMH0L1dGlBwCeK1dU+zk1AB0+PHkZx25lmPF/ Z5gAnRpoy1gtipAy03OL59VOixch+6t5 =Ad8I -----END PGP SIGNATURE-----