summaryrefslogtreecommitdiff
path: root/setup_menu.c
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-06-11 17:27:51 +0000
committerphintuka <phintuka>2007-06-11 17:27:51 +0000
commit6268fd35bd376547f685ef9ee9e4680b8b20d0f8 (patch)
tree456345d72686c4a285644d8f7f21fffa203577e0 /setup_menu.c
parent6749f28e8355c48309bb251067c4a53650ef37f8 (diff)
downloadxineliboutput-6268fd35bd376547f685ef9ee9e4680b8b20d0f8.tar.gz
xineliboutput-6268fd35bd376547f685ef9ee9e4680b8b20d0f8.tar.bz2
Force even RTP base (data) port
Diffstat (limited to 'setup_menu.c')
-rw-r--r--setup_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_menu.c b/setup_menu.c
index c248f271..d91a9de7 100644
--- a/setup_menu.c
+++ b/setup_menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: setup_menu.c,v 1.27 2007-06-11 16:59:59 phintuka Exp $
+ * $Id: setup_menu.c,v 1.28 2007-06-11 17:27:51 phintuka Exp $
*
*/
@@ -1364,8 +1364,8 @@ void cMenuSetupRemote::Set(void)
Add(ctrl_rtp_addr =
new cMenuEditStrItem( tr(" Address"),
&newconfig.remote_rtp_addr[0], 16, "0123456789."));
- Add(new cMenuEditIntItem( tr(" Port"),
- &newconfig.remote_rtp_port, 1000, 0xffff));
+ Add(new cMenuEditOddIntItem( tr(" Port"),
+ &newconfig.remote_rtp_port, 1000, 0xfffe));
Add(new cMenuEditIntItem( tr(" TTL"),
&newconfig.remote_rtp_ttl, 1, 10));
Add(new cMenuEditBoolItem(tr(" Transmit always on"),