[MPlayer-dev-eng] [PATCH] Direct3D Much better D3D management

Kevin DeKorte kdekorte at gmail.com
Tue Dec 2 00:13:27 CET 2008


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

Georgi Petrov wrote:
>> Isn't there a way to automatically do this using indent rules? Seems
>> like a lot of conversation over whitespace happens with patches.
> 
> Good point.

May I suggest that mplayer use something like

indent -kr -l100 -i4 -nut


Which gives output like this...


void dbus_open_next()
{
    gchar *path;
    DBusMessage *message;

    if (connection != NULL && control_id != 0) {
        path = g_strdup_printf("/control/%i", control_id);
        message = dbus_message_new_signal(path, "com.gecko.mediaplayer",
"Next");
        dbus_connection_send(connection, message, NULL);
        dbus_message_unref(message);
        g_free(path);
    }
}

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

iEYEARECAAYFAkk0b5cACgkQ6w2kMH0L1dFhzwCfcTs5EPRmKexAmRmnjvX493gR
K70AnRAYPB+2V+9BSYU+qWxhYJ6erShm
=DAT6
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list