Mercurial > mplayer.hg
diff cfg-mplayer.h @ 31982:184969a3a437
Add synchronization of multiple MPlayer instances over UDP.
Patch by Jason Holt [jholt google com]
author | reimar |
---|---|
date | Wed, 08 Sep 2010 05:29:05 +0000 |
parents | 49848f9a8f30 |
children | 4614728cab25 |
line wrap: on
line diff
--- a/cfg-mplayer.h Tue Sep 07 23:46:14 2010 +0000 +++ b/cfg-mplayer.h Wed Sep 08 05:29:05 2010 +0000 @@ -275,6 +275,14 @@ {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL}, +#ifdef CONFIG_NETWORKING + {"udp-slave", &udp_slave, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"udp-master", &udp_master, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"udp-ip", &udp_ip, CONF_TYPE_STRING, 0, 0, 1, NULL}, + {"udp-port", &udp_port, CONF_TYPE_INT, 0, 1, 65535, NULL}, + {"udp-seek-threshold", &udp_seek_threshold, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 100, NULL}, +#endif /* CONFIG_NETWORKING */ + // dump some stream out instead of playing the file // this really should be in MEncoder instead of MPlayer... -> TODO {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},