[Bug 797340] gstudpsrc: print information about bind_error socket error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Oct 27 11:06:26 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797340

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #374055|none                        |reviewed
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 374055:
 --> (https://bugzilla.gnome.org/review?bug=797340&attachment=374055)

::: gst/udp/gstudpsrc.c
@@ +1356,3 @@
     g_object_unref (bind_addr);
+    if (!g_socket_bind (src->used_socket, bind_saddr, src->reuse, &err)) {
+      GST_ERROR_OBJECT (src, "Error binding to %s:%d", src->address,
src->port);

Should probably also print err->message?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list