projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6136ef6
)
rtsp-stream: Bind multicast sockets to ANY as before
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 6 Sep 2016 16:10:21 +0000
(19:10 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 6 Sep 2016 16:10:21 +0000
(19:10 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=766612#c48
gst/rtsp-server/rtsp-stream.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-stream.c
b/gst/rtsp-server/rtsp-stream.c
index
5773fa6
..
9bef965
100644
(file)
--- a/
gst/rtsp-server/rtsp-stream.c
+++ b/
gst/rtsp-server/rtsp-stream.c
@@
-1284,7
+1284,10
@@
again:
tmp_rtp = addr->port;
g_clear_object (&inetaddr);
- inetaddr = g_inet_address_new_from_string (addr->address);
+ if (multicast)
+ inetaddr = g_inet_address_new_any (family);
+ else
+ inetaddr = g_inet_address_new_from_string (addr->address);
} else {
if (tmp_rtp != 0) {
tmp_rtp += 2;