[MPlayer-users] pausing_keep_force

Kevin DeKorte kdekorte at gmail.com
Fri Sep 26 15:28:36 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reimar Döffinger wrote:
| On Thu, Sep 25, 2008 at 04:22:55PM -0600, Kevin DeKorte wrote:
|> 1. Is there a way to detect if this functionality is available
|
| Probably send a
| pausing_keep_force get_property ...
| and see if you get an error (replace ... by something suitable).

Actually, you don't get any response back, but I believe this can be
determined.

for example if you send
pausing_keep_forse get_property path   (I spelled it wrong on purpose to
simulate a unknown command)
You don't get anything back. So a workaround would be to request a
property that you don't use with pausing_keep_force and if you get a
response to that property then you know pausing_keep_force is available.

|
|> 2. When will pausing_keep_force be promoted to the real pausing_keep.
|
| Two problems: 1) no idea which commands work with pausing_keep_force and
| which don't.
| 2) in some cases both the behaviour of pausing_keep_force and
| pausing_keep may be useful.
|
| I did somewhat like the idea of promoting commands to behave like with
| pausing_keep_force when pausing_keep is used, but for the whole
| get_/set_property (which we want to use for almost everything in the
| future) I do not know of a way that is not a huge mess.

Is there a way that for 'get_properties' they could work always in
pausing_keep_force mode for either pausing_keep or pausing_keep_force,
since normally when you are getting information from mplayer, you don't
want the state of mplayer to change. And for set_properties still have
pausing_keep and pausing_keep_force and leave usage of that up to the
user of the slave interface.

One common complaint I get with gnome-mplayer is that the frames advance
when the user changes the volume when the media is paused. So that is
why pausing_keep_force is something that is very interesting to me.

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.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFI3OOE6w2kMH0L1dERAql+AJ9ZfWSotBu+x/3VkIqy+65gaYK1VACeMpIT
RBnlsW7xaJnLKUK0VJycPa8=
=0avd
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list