diff options
author | Dave Robillard <dave@drobilla.net> | 2009-05-26 19:11:45 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-26 19:11:45 -0400 |
commit | 0b46abe9aec9d8903430f49fe17f92dd8b0ba00e (patch) | |
tree | 5b4d6d8b85c0b002d4d503e75d6edc6772fcce85 /gst/rtpmanager | |
parent | e9f9ffa0e5ca0844a499a106963888176b6a7372 (diff) | |
parent | b75a26657febaf86c4137b4d41c068926325e316 (diff) | |
download | gst-plugins-bad-0b46abe9aec9d8903430f49fe17f92dd8b0ba00e.tar.gz gst-plugins-bad-0b46abe9aec9d8903430f49fe17f92dd8b0ba00e.tar.bz2 gst-plugins-bad-0b46abe9aec9d8903430f49fe17f92dd8b0ba00e.zip |
Merge branch 'fdo' into lv2
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/rtpsource.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 6a3dc604..355526ee 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -201,7 +201,8 @@ make_address_string (GstNetAddress * addr, gchar * dest, gulong n) gst_netaddress_get_ip4_address (addr, &address, &port); g_snprintf (dest, n, "%d.%d.%d.%d:%d", (address >> 24) & 0xff, - (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff, port); + (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff, + g_ntohs (port)); break; } case GST_NET_TYPE_IP6: @@ -216,7 +217,7 @@ make_address_string (GstNetAddress * addr, gchar * dest, gulong n) (address[4] << 8) | address[5], (address[6] << 8) | address[7], (address[8] << 8) | address[9], (address[10] << 8) | address[11], (address[12] << 8) | address[13], (address[14] << 8) | address[15], - port); + g_ntohs (port)); break; } default: |