projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8740313
)
multiudpsink: Allow setting "socket-v6" without setting "socket" too
author
Mats Lindestam
<matslm@axis.com>
Mon, 25 Apr 2016 13:03:14 +0000
(15:03 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 26 Apr 2016 08:05:22 +0000
(11:05 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=764897
gst/udp/gstmultiudpsink.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstmultiudpsink.c
b/gst/udp/gstmultiudpsink.c
index
656296a
..
fc8725a
100644
(file)
--- a/
gst/udp/gstmultiudpsink.c
+++ b/
gst/udp/gstmultiudpsink.c
@@
-1311,7
+1311,7
@@
gst_multiudpsink_start (GstBaseSink * bsink)
if (sink->socket_v6) {
GST_DEBUG_OBJECT (sink, "using configured IPv6 socket");
- g_return_val_if_fail (g_socket_get_family (sink->socket) !=
+ g_return_val_if_fail (
!sink->socket ||
g_socket_get_family (sink->socket) !=
G_SOCKET_FAMILY_IPV6, FALSE);
if (sink->used_socket_v6 && sink->used_socket_v6 != sink->socket_v6) {